/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   LIGHT THEME VARIABLES
========================================= */

:root {

    --primary: #007bff;
    --primary-hover: #0069d9;

    --success: #28a745;
    --danger: #dc3545;

    --text: #333333;
    --heading: #222222;
    --muted: #666666;

    --background: #f5f7fb;
    --surface: #ffffff;

    --border: #e5e5e5;
    --border-light: #eeeeee;

    --card-icon-bg: #f0f6ff;
    --hover-bg: #f8fbff;

    --primary-light: rgba(0, 123, 255, 0.10);

    --shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.06);

    --content-width: 1024px;

    --radius: 8px;
}


/* =========================================
   DARK THEME
========================================= */

body.dark {

    --primary: #3b82f6;
    --primary-hover: #60a5fa;

    --success: #22c55e;
    --danger: #ef4444;

    --text: #e5e7eb;
    --heading: #f9fafb;
    --muted: #9ca3af;

    --background: #111827;
    --surface: #1f2937;

    --border: #374151;
    --border-light: #374151;

    --card-icon-bg: #26364f;
    --hover-bg: #273449;

    --primary-light: rgba(59, 130, 246, 0.15);

    --shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.35);
}


/* =========================================
   GLOBAL
========================================= */

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}


body {

    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    background: var(--background);

    font-family:
        "Roboto",
        "Noto Sans",
        Arial,
        sans-serif;

    color: var(--text);

    padding-bottom: 110px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


/* =========================================
   SUPPORT WINDOW
========================================= */

.support-window {
    width: 100%;
}


/* =========================================
   SUPPORT HEADER
========================================= */

.support-header {

    width: min(
        calc(100% - 40px),
        var(--content-width)
    );

    margin: 20px auto;

    padding:
        clamp(18px, 3vw, 25px)
        clamp(15px, 3vw, 30px);

    background: var(--primary);

    color: #ffffff;

    border-radius: var(--radius);

    box-shadow:
        0 4px 12px
        rgba(0, 123, 255, 0.12);

}


/* =========================================
   HEADER CONTENT
========================================= */

.support-header-content {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* =========================================
   SUPPORT ICON
========================================= */

.support-icon {

    display: none;
}


/* =========================================
   HEADER TEXT
========================================= */

.support-header-text {
    display: contents;
}


/* =========================================
   HEADER TITLE
========================================= */

.support-header h1 {

    margin: 0 0 8px;

    font-size:
        clamp(1.7rem, 4vw, 2.2rem);

    font-weight: 700;

    line-height: 1.2;

    color: #ffffff;
}


/* =========================================
   ICON NEXT TO TITLE
========================================= */

.support-header h1::before {

    content: "\f590";

    font-family:
        "Font Awesome 6 Free";

    font-weight: 900;

    font-size: 0.75em;

    margin-right: 12px;
}


/* =========================================
   HEADER DESCRIPTION
========================================= */

.support-header p {

    margin: 0;

    font-size:
        clamp(0.9rem, 2vw, 1rem);

    font-weight: 500;

    color:
        rgba(255, 255, 255, 0.90);

    text-align: center;
}


/* =========================================
   MAIN CONTENT
========================================= */

.support-content {

    width: min(
        calc(100% - 40px),
        var(--content-width)
    );

    margin: 20px auto;
}


/* =========================================
   QUICK ACTIONS
========================================= */

.quick-actions {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 22px;
}


/* =========================================
   SUPPORT CARD
========================================= */

.support-card {

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 88px;

    padding: 18px 20px;

    text-decoration: none;

    color: var(--text);

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


/* =========================================
   SUPPORT CARD HOVER
========================================= */

.support-card:hover {

    transform: translateY(-2px);

    border-color: var(--primary);

    background: var(--hover-bg);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.10);
}


/* =========================================
   SUPPORT CARD ACTIVE
========================================= */

.support-card:active {
    transform: translateY(0);
}


/* =========================================
   CARD ICON
========================================= */

.card-icon {

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--card-icon-bg);

    color: var(--primary);

    border-radius: var(--radius);

    font-size: 18px;
}


/* =========================================
   CARD TEXT
========================================= */

.support-card h3 {

    margin-bottom: 5px;

    font-size: 17px;

    font-weight: 600;

    color: var(--heading);
}


.support-card p {

    font-size: 14px;

    line-height: 1.4;

    color: var(--muted);
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {

    margin-bottom: 16px;

    padding-bottom: 14px;

    border-bottom:
        1px solid var(--border-light);

    color: var(--heading);

    font-size:
        clamp(1.2rem, 3vw, 1.4rem);

    font-weight: 700;
}


/* =========================================
   FAQ CONTAINER
========================================= */

.faq-container {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* =========================================
   ACTIVE FAQ
========================================= */

.faq-item.active {

    border-color: var(--primary);

    box-shadow:
        0 4px 12px
        var(--primary-light);
}


/* =========================================
   FAQ QUESTION
========================================= */

.faq-question {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 18px;

    border: none;

    background: var(--surface);

    color: var(--text);

    font-family: inherit;

    font-size: 16px;

    font-weight: 600;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease;
}


/* =========================================
   FAQ QUESTION HOVER
========================================= */

.faq-question:hover {

    background: var(--hover-bg);
}


/* =========================================
   FAQ ARROW
========================================= */

.faq-question i {

    flex-shrink: 0;

    color: var(--primary);

    font-size: 14px;

    transition:
        transform 0.25s ease;
}


/* =========================================
   ROTATE FAQ ARROW
========================================= */

.faq-item.active
.faq-question i {

    transform: rotate(180deg);
}


/* =========================================
   FAQ ANSWER
========================================= */

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.3s ease;
}


/* =========================================
   FAQ ANSWER TEXT
========================================= */

.faq-answer p {

    padding:
        0
        18px
        18px;

    font-size: 14px;

    line-height: 1.6;

    color: var(--muted);
}


/* =========================================
   OPEN FAQ
========================================= */

.faq-item.active
.faq-answer {

    max-height: 300px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .section-title {
        font-size: 1.3rem;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    body {
        padding-bottom: 100px;
    }


    /* HEADER */

    .support-header {

        width:
            calc(100% - 24px);

        margin:
            12px auto;

        padding:
            18px 15px;
    }


    .support-header h1 {
        font-size: 1.8rem;
    }


    .support-header p {
        font-size: 0.95rem;
    }


    /* CONTENT */

    .support-content {

        width:
            calc(100% - 24px);

        margin:
            12px auto;
    }


    /* QUICK ACTIONS */

    .quick-actions {

        grid-template-columns:
            1fr;

        gap: 12px;

        margin-bottom: 20px;
    }


    /* SUPPORT CARD */

    .support-card {

        min-height: auto;

        padding: 16px;
    }


    /* CARD ICON */

    .card-icon {

        width: 42px;

        height: 42px;
    }


    /* CARD TEXT */

    .support-card h3 {
        font-size: 16px;
    }


    .support-card p {
        font-size: 13px;
    }


    /* SECTION TITLE */

    .section-title {

        margin-bottom: 14px;

        padding-bottom: 12px;

        font-size: 1.2rem;
    }


    /* FAQ */

    .faq-question {

        padding: 16px;

        font-size: 14px;
    }


    .faq-answer p {

        padding:
            0
            16px
            16px;

        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .support-header {

        width:
            calc(100% - 16px);

        padding:
            15px 12px;
    }


    .support-content {

        width:
            calc(100% - 16px);
    }


    .support-header h1 {
        font-size: 1.55rem;
    }


    .support-header p {
        font-size: 0.85rem;
    }


    .support-card {
        padding: 14px;
    }


    .faq-question {

        padding: 14px;

        font-size: 13px;
    }

}


/* =========================================
   KEYBOARD ACCESSIBILITY
========================================= */

.support-card:focus-visible,
.faq-question:focus-visible {

    outline:
        3px solid
        var(--primary-light);

    outline-offset: 3px;
}
 

/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

}