/* =========================================================
   GOTT CUSTOMER SUPPORT PAGE
   File: css/customerSupport.css
   ========================================================= */

/* ---------- General Page ---------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f7fb;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
}

/* ---------- Hero ---------- */

.hero {
    padding: 55px 20px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(0, 70, 100, 0.96),
            rgba(3, 25, 48, 0.98)
        );
    color: #ffffff;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- Main Wrapper ---------- */

.container {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 60px auto;
}

.support-form-section {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* ---------- Main Form Card ---------- */

#customerSupportForm {
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.form-intro {
    margin-bottom: 32px;
}

.form-intro h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #0f2942;
}

.form-intro p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Form Sections ---------- */

.form-card {
    margin-top: 28px;
    padding: 28px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
}

.form-card:first-of-type {
    margin-top: 0;
}

.form-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dce3eb;
    font-size: 19px;
    color: #123a5a;
}

.form-card-title::before {
    content: "";
    width: 5px;
    height: 24px;
    border-radius: 10px;
    background: #1f7acb;
}

/* ---------- Grid ---------- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* ---------- Labels ---------- */

.form-group label {
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.required {
    color: #dc2626;
}

/* ---------- Inputs ---------- */

.cufInput,
#customerSupportForm input[type="text"],
#customerSupportForm input[type="email"],
#customerSupportForm input[type="tel"],
#customerSupportForm input[type="date"],
#customerSupportForm select,
#customerSupportForm textarea {
    width: 100%;
    height: 44px;
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #cfd8e3;
    border-radius: 9px;
    color: #1f2937;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

#customerSupportForm input[readonly] {
    background: #eef2f6;
    color: #5c6775;
    cursor: not-allowed;
}

#customerSupportForm textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.55;
}

#customerSupportForm select {
    cursor: pointer;
}

#customerSupportForm select:disabled {
    background: #edf1f5;
    color: #8a94a3;
    cursor: not-allowed;
}

.cufInput:focus,
#customerSupportForm input:focus,
#customerSupportForm select:focus,
#customerSupportForm textarea:focus {
    border-color: #1f7acb;
    box-shadow: 0 0 0 4px rgba(31, 122, 203, 0.12);
}

/* ---------- Helper Text ---------- */

.field-help {
    margin-top: 7px;
    color: #7b8794;
    font-size: 12px;
    line-height: 1.5;
}

/* ---------- Consent ---------- */

.support-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 24px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.support-checkbox input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: #1f7acb;
}

/* ---------- Submit Button ---------- */

#supportBtn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
    min-height: 52px;
    margin-top: 24px;
    padding: 13px 28px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1686d9, #0d5ea8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(13, 94, 168, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

#supportBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(13, 94, 168, 0.3);
}

#supportBtn:active {
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .container {
        width: min(100% - 28px, 760px);
        margin-top: 30px;
    }

    #customerSupportForm {
        padding: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 40px 18px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero p {
        font-size: 14px;
    }

    .container {
        width: calc(100% - 20px);
        margin: 20px auto 45px;
    }

    #customerSupportForm {
        padding: 18px;
        border-radius: 12px;
    }

    .form-card {
        padding: 18px;
    }

    .form-intro h2 {
        font-size: 23px;
    }

    #supportBtn {
        width: 100%;
        min-width: 0;
    }
}