@import url('../_external/fonts.googleapis.com/css2_b86f4577.css');
@import "/static/colors.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: white;
}

body {
    background: var(--bg-body);
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url('login/tom.jpg');
    background-size: cover;
    background-position: center 0%;
}

.login-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(146, 146, 146, 0.3);
    /* background-color: rgba(0, 0, 0, 0.8); */
    backdrop-filter: blur(10px);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 4px 0px, rgba(0, 0, 0, 0.06) 0px 4px 8px 0px;
}

.login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.login-content h2 {
    padding-bottom: 30px;
    color: white;
}

.login-content form {
    display: flex;
    flex-direction: column;
    width: 320px;
    color: rgb(130, 137, 150);
    fill: rgb(130, 137, 150);
}

.login-content .wrap-input {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

.login-content .wrap-input input {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.5;
    height: 45px;
    padding-left: 45px;
    border: 1px solid #ecf0fa;
    border-radius: 5px;
    color: rgb(130, 137, 150);
}


.login-content .wrap-input svg {
    position: absolute;
    top: calc(50% - 12px);
    left: 12px;
    pointer-events: none;
}

.login-content .wrap-input img {
    position: absolute;
    top: 0;
    right: 0;
    height: 45px;
    width: auto;
    border-radius: 5px;
}

.login-content .wrap-input input:focus {
    outline: none
}

.capthca {
    padding-left: 10px !important;
}

.login-content button {
    margin-top: 15px;
    background-color: var(--primary-bg-color);
    color: black;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.login-content button:hover {
    background-color: var(--dark-bg);
    color: var(--primary-bg-hover);
}

.login-content p {
    padding-top: 0.75rem;
    font-size: 0.85rem;
}

.login-content p a,
.login-content .reset a {
    text-decoration: none;
    color: var(--primary-bg-color);
    transition: 0.3s;
}

.login-content .reset {
    display: flex;
    justify-content: flex-end;
}

.login-content p a:hover,
.login-content .reset a:hover {
    color: white;
}

.black-box {
    height: 45px;
    width: 108px;
    background-color: black;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
}

.error-message {
    color: var(--primary-bg-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.captcha-image {
    min-width: 100px;
    min-height: 30px;
    vertical-align: middle;
    object-fit: contain;
}

.site-heading {
    text-align: center;
    padding: 18px 20px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.about-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 14px 24px 20px;
    text-align: center;
}

.about-section h2 {
    color: var(--primary-bg-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.about-section a {
    color: var(--primary-bg-color);
    text-decoration: none;
}



/* ========== FAQ PAGE STYLES ========== */
.faq-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.faq-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.25s;
}

.faq-nav a:hover {
    color: var(--primary-bg-color);
}

.faq-nav .nav-brand {
    color: var(--primary-bg-color);
    font-weight: 700;
    font-size: 1rem;
}

.faq-container {
    max-width: 700px;
    margin: 40px auto 30px;
    padding: 0 20px;
}

.faq-container h1 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

.faq-item {
    margin-bottom: 8px;
}

.faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px 22px;
    color: #e8e8e8;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.25);
    color: #fff;
}

.faq-question[aria-expanded="true"] {
    border-radius: 10px 10px 0 0;
    border-bottom-color: transparent;
    background: rgba(255, 193, 7, 0.1);
    color: #fff;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
    stroke: var(--primary-bg-color);
}

.faq-question svg {
    transition: transform 0.3s ease, stroke 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
    opacity: 0.6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 0 22px;
}

.faq-answer.open {
    max-height: 400px;
    padding: 18px 22px;
}

.faq-answer p {
    color: #d0d0d0;
    font-size: 0.88rem;
    line-height: 1.8;
    margin: 0;
}

/* ========== STATUS/EXTRA PAGE STYLES ========== */
.status-container,
.page-container {
    max-width: 700px;
    margin: 40px auto 30px;
    padding: 0 20px;
}

.status-container h1,
.page-container h1 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.status-container h2,
.page-container h2 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 28px 0 14px;
}

.status-container h3,
.page-container h3 {
    color: var(--primary-bg-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 6px 0 2px;
}

.status-container p,
.page-container p {
    color: #c8c8c8;
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 10px;
}

.status-container a,
.page-container a {
    color: var(--primary-bg-color);
    text-decoration: none;
    transition: color 0.2s;
}

.status-container a:hover,
.page-container a:hover {
    color: #fff;
}

/* ========== FOOTER (sub-pages only) ========== */
footer {
    text-align: center;
    padding: 25px 20px 18px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

footer a:hover {
    color: var(--primary-bg-color) !important;
}

footer p {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 14px;
        margin: 24px auto;
    }

    .faq-container h1 {
        font-size: 1.15rem;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 0.85rem;
    }

    .status-container,
    .page-container {
        padding: 0 14px;
        margin: 24px auto;
    }
}