/* =========================================================
   SMARTLINK FLORIDA - OFFICIAL CLIENT INTAKE FORM
   Page-specific stylesheet for /intake/client-intake.php
========================================================= */

.slf-client-intake-page {
    background: #eef1f2;
}

.slf-intake-document-main {
    width: 100%;
    padding: 34px 0 42px;
    color: #1f2933;
    background:
        radial-gradient(circle at top left, rgba(0, 128, 128, 0.06), transparent 30%),
        #eef1f2;
}

.slf-intake-document-shell {
    width: min(92%, 1040px);
    margin: 0 auto;
}

.slf-intake-document {
    background: #ffffff;
    border: 1px solid #d8dee2;
    border-radius: var(--slf-card-radius);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.slf-intake-doc-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 24px 30px;
    background: #ffffff;
    border-bottom: 4px solid #006666;
}

.slf-intake-doc-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.slf-intake-doc-brand img {
    width: 170px;
    max-width: 45vw;
    height: auto;
    display: block;
}

.slf-intake-doc-brand strong,
.slf-intake-doc-brand span {
    display: block;
}

.slf-intake-doc-brand strong {
    color: #111827;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

.slf-intake-doc-brand span {
    color: #4b5563;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 700;
}

.slf-intake-doc-meta {
    min-width: 260px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafb;
}

.slf-intake-doc-meta div {
    display: grid;
    grid-template-columns: 92px 1fr;
    border-bottom: 1px solid #dfe5e8;
}

.slf-intake-doc-meta div:last-child {
    border-bottom: none;
}

.slf-intake-doc-meta span,
.slf-intake-doc-meta strong {
    padding: 8px 10px;
    font-size: 0.74rem;
    line-height: 1.25;
}

.slf-intake-doc-meta span {
    color: #475569;
    background: #edf2f4;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.slf-intake-doc-meta strong {
    color: #111827;
    font-weight: 800;
}

.slf-intake-doc-titlebar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: end;
    padding: 28px 30px 24px;
    border-bottom: 1px solid #dfe5e8;
    background: linear-gradient(180deg, #fbfcfc, #f5f8f8);
}

.slf-intake-doc-kicker {
    margin: 0 0 6px;
    color: #006666;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.slf-intake-doc-titlebar h1 {
    margin: 0 0 8px;
    color: #111827;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.1;
    font-weight: var(--slf-weight-heading);
    letter-spacing: -0.5px;
}

.slf-intake-doc-titlebar p {
    max-width: 690px;
    margin: 0;
    color: #3e4c59;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
}

.slf-intake-doc-contact {
    min-width: 190px;
    padding: 13px 15px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    background: #ffffff;
    text-align: right;
}

.slf-intake-doc-contact span,
.slf-intake-doc-contact a {
    display: block;
}

.slf-intake-doc-contact span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.55px;
}

.slf-intake-doc-contact a {
    color: #006666;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
}

.slf-intake-instructions {
    margin: 24px 30px 0;
    padding: 18px 20px;
    border: 1px solid #d7e4e4;
    border-left: 5px solid #006666;
    border-radius: 8px;
    background: #f8fbfb;
}

.slf-intake-instructions h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

.slf-intake-instructions ul {
    margin: 0;
    padding-left: 20px;
    color: #3e4c59;
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 700;
}

.slf-intake-alert {
    margin: 24px 30px 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.4;
}

.slf-intake-alert-success {
    color: #005f5f;
    background: #e6f7f8;
    border: 1px solid rgba(0, 128, 128, 0.24);
}

.slf-intake-alert-error {
    color: #9f1d1d;
    background: #fff0f0;
    border: 1px solid rgba(185, 28, 28, 0.22);
}

.slf-intake-form {
    padding: 6px 30px 30px;
}

.slf-intake-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.slf-intake-fieldset {
    margin: 26px 0 0;
    padding: 22px;
    border: 1px solid #d5dee2;
    border-radius: 8px;
    background: #ffffff;
}

.slf-intake-fieldset legend {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
    color: #111827;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

.slf-intake-fieldset legend span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #006666;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.slf-intake-grid {
    display: grid;
    gap: 16px;
}

.slf-intake-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slf-intake-span-2 {
    grid-column: 1 / -1;
}

.slf-intake-field label {
    display: block;
    margin-bottom: 7px;
    color: #1f2933;
    font-size: 0.84rem;
    line-height: 1.2;
    font-weight: 900;
}

.slf-intake-field label span,
.slf-intake-consent em {
    color: #006666;
    font-style: normal;
}

.slf-intake-field input,
.slf-intake-field select,
.slf-intake-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #bfcbd1;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2933;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slf-intake-field textarea {
    resize: vertical;
    min-height: 136px;
    line-height: 1.5;
}

.slf-intake-field input:focus,
.slf-intake-field select:focus,
.slf-intake-field textarea:focus {
    outline: none;
    border-color: #006666;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
    background: #fbffff;
}

.slf-intake-security-note {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #d7e4e4;
    border-radius: 8px;
    color: #203039;
    background: #f8fbfb;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 700;
}

.slf-intake-security-note strong {
    color: #006666;
}

.slf-intake-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin: 0;
    color: #263035;
    font-size: 0.93rem;
    line-height: 1.45;
    font-weight: 800;
}

.slf-intake-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #006666;
}

.slf-intake-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid #dfe5e8;
    margin-top: 26px;
}

.slf-intake-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: var(--slf-button-height);
    padding: 0 22px;
    border: none;
    border-radius: var(--slf-button-radius);
    cursor: pointer;
    color: #ffffff;
    background: #006666;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: var(--slf-weight-button);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.slf-intake-submit:hover {
    background: #008080;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 102, 102, 0.22);
}

.slf-intake-actions p {
    max-width: 560px;
    margin: 0;
    color: #53606a;
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 700;
}

@media (max-width: 860px) {
    .slf-intake-doc-header,
    .slf-intake-doc-titlebar {
        grid-template-columns: 1fr;
    }

    .slf-intake-doc-meta,
    .slf-intake-doc-contact {
        width: 100%;
        min-width: 0;
    }

    .slf-intake-doc-contact {
        text-align: left;
    }
}

@media (max-width: 680px) {
    .slf-intake-document-main {
        padding: 20px 0 30px;
    }

    .slf-intake-document-shell {
        width: min(94%, 560px);
    }

    .slf-intake-doc-header,
    .slf-intake-doc-titlebar,
    .slf-intake-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .slf-intake-instructions,
    .slf-intake-alert {
        margin-left: 18px;
        margin-right: 18px;
    }

    .slf-intake-doc-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .slf-intake-doc-brand img {
        width: 150px;
    }

    .slf-intake-doc-meta div {
        grid-template-columns: 1fr;
    }

    .slf-intake-grid-2 {
        grid-template-columns: 1fr;
    }

    .slf-intake-fieldset {
        padding: 18px 14px;
    }

    .slf-intake-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .slf-intake-submit {
        width: 100%;
    }
}
