.pro-di-box {
    margin-block: 1.5rem;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 1px solid #d5e0e5;
    border-radius: .75rem;
}

.pro-di-box h2,
.pro-di-needs h3 {
    margin-top: 0;
}

.pro-di-box textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 7rem;
    padding: .65rem;
    font: inherit;
}

.pro-di-box summary {
    cursor: pointer;
    width: fit-content;
    font-weight: 600;
}

.pro-di-button {
    display: inline-block;
    padding: .7rem 1rem;
    border: 1px solid #15485e;
    border-radius: .4rem;
    background: #15485e;
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.pro-di-box .pro-di-button:hover,
.pro-di-box .pro-di-button:focus-visible {
    background: #10394b;
    color: #fff;
}

#pro-di-kvietimas a.pro-di-button {
    color: #fff !important;
}

.pro-di-box .pro-di-button:focus-visible {
    outline: 3px solid #15485e;
    outline-offset: 3px;
}

.pro-di-account {
    width: min(100% - 2rem, 70rem);
    margin-inline: auto;
}

.pro-di-box[id],
.pro-di-needs[id],
.pro-card-needs[id],
.pro-card-needs textarea[id] {
    scroll-margin-block-start: 5rem;
}

.pro-card-needs,
.pro-card-options {
    box-sizing: border-box;
    min-width: 0;
    margin-block: 1.25rem;
    padding: clamp(.85rem, 2.5vw, 1.4rem);
    border: 1px solid #c7d8e0;
    border-radius: .65rem;
    background: #f5f9fb;
    color: #173a4f;
}

.pro-card-needs-help {
    margin-block: .4rem .75rem;
    font-size: .95em;
}

.pro-card-needs textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 6rem;
    resize: vertical;
}

.pro-card-options > h3 {
    margin-block: 0 .75rem;
}

.pro-card-option + .pro-card-option {
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid #c7d8e0;
}

.pro-card-option > label {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
}

.pro-card-option > label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: .2rem 0 0;
    accent-color: #135d83;
}

.pro-card-option details {
    margin-block-start: .35rem;
}

.pro-card-option summary {
    width: fit-content;
    color: #174c70;
    cursor: pointer;
}

.pro-card-errors {
    margin-block: 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid #b45148;
    border-inline-start-width: .25rem;
    border-radius: .4rem;
    background: #fff5f3;
    color: #762322;
}

.pro-card-errors p,
.pro-card-errors ul {
    margin-block: 0;
}

.pro-card-errors ul {
    padding-inline-start: 1.4rem;
}

.pro-card-errors a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .14em;
}

.pro-card-errors:focus,
.pro-card-option summary:focus-visible {
    outline: 2px solid #15485e;
    outline-offset: .15rem;
}

.pro-card-field-error,
.pro-card-di-warning {
    margin-block: .2rem .65rem;
    color: #762322;
    font-size: .95em;
    font-weight: 600;
}

.pro-card-field-invalid {
    border-color: #b45148 !important;
    scroll-margin-block-start: 5rem;
}

.pro-card-public-preview {
    margin-block: 1.15rem .65rem;
}

a.pro-card-logout {
    display: inline-flex;
    align-items: center;
    min-height: 2.65rem;
    padding: .45rem .9rem;
    border: 1px solid #15485e;
    border-radius: .4rem;
    background: #15485e;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}

a.pro-card-logout:hover,
a.pro-card-logout:focus-visible {
    background: #10394b;
}
