/* ============================================================
   contact.css  –  mirrors login.css / profile.css design language
   ============================================================ */

/* ── Page shell ── */
.ct-page {
    max-width: 780px;
    margin: 24px 0;
    padding: 0 0 64px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
}

/* ── Header — matches pf-header light card style ── */
.ct-header {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-top: 3px solid #f8b739;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,38,71,.06), 0 1px 3px rgba(0,38,71,.04);
}

.ct-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
}

/* icon circle — mirrors pf-avatar */
.ct-header-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #002647 0%, #004a7c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8b739;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0,38,71,.25);
}

.ct-header h2 {
    margin: 0 0 4px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #002647;
}

.ct-header-sub {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 400;
}

/* ── Card ── */
.ct-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 28px 32px 32px;
}

/* ── Two-column field grid ── */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-bottom: 20px;
}

.ct-grid-full {
    grid-column: 1 / -1;
}

/* ── Field ── */
.ct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-field label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #9ca3af;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e6f0;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #1a1a2e;
    background: #f9fafb;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: #f8b739;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(248,183,57,0.15);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #c4c9d8;
}

.ct-field textarea {
    resize: vertical;
    min-height: 110px;
}

/* ── Validation ── */
.ct-validation {
    font-size: 0.78rem;
    color: #b91c1c;
    margin-top: 2px;
}

/* ── reCAPTCHA row ── */
.ct-recaptcha {
    margin-bottom: 20px;
}

/* ── Actions row ── */
.ct-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Submit button (matches lg-btn) ── */
.ct-btn {
    padding: 12px 32px;
    background: #f8b739;
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.ct-btn:hover:not(:disabled) {
    background: #d9992a;
    box-shadow: 0 4px 14px rgba(248,183,57,0.35);
}

.ct-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.ct-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Success message ── */
.ct-success {
    border-radius: 10px;
    padding: 16px 20px;
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.3);
    color: #15803d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-header {
        border-radius: 12px;
    }

    .ct-header-main {
        padding: 18px 18px;
        gap: 14px;
    }

    .ct-header-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .ct-header h2 {
        font-size: 1.2rem;
    }

    .ct-card {
        padding: 20px 16px 24px;
        border-radius: 10px;
    }

    .ct-btn {
        width: 100%;
        text-align: center;
    }
}
