/* ═══════════════════════════════════════════════
   PROZONE LOGIN — Matching live site (dalaccess.cc)
   Fonts: Lato + Bebas Neue (from Google Fonts)
   Colors: Extracted from production Nuxt.js bundle
   ═══════════════════════════════════════════════ */

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

html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

body.dark_theme {
    background: #1a2833;
    color: #fff;
}

/* ═══════════════════════════════════════════════
   WAVE BACKGROUND
   ═══════════════════════════════════════════════ */
.wave-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    z-index: 0;
    pointer-events: none;
}

.wave-bg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave-1 { fill: #1a1210; }
.wave-2 { fill: #5c3018; }
.wave-3 { fill: #ed5d15; }

/* ═══════════════════════════════════════════════
   THEME TOGGLE (top-right moon icon)
   ═══════════════════════════════════════════════ */
.main__theme {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 100;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.main__theme svg path {
    fill: rgba(255, 255, 255, 0.5);
    transition: fill 0.3s ease;
}

.main__theme:hover {
    background: rgba(255, 255, 255, 0.14);
}

.main__theme:hover svg path {
    fill: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════
   WRAPPER (centers the card)
   ═══════════════════════════════════════════════ */
.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   LOGIN CARD — from live site .whitebg .main__form
   ═══════════════════════════════════════════════ */
.main__form {
    background: #0f171e;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.main__form-newWrap {
    padding: 40px 35px;
}

/* ═══════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════ */
.main__form-logo {
    text-align: center;
    margin-bottom: 30px;
}

.main__form-logo img {
    height: 50px;
    width: auto;
}

/* ═══════════════════════════════════════════════
   TABS — from live site radio-button style
   ═══════════════════════════════════════════════ */
.main__form-tab {
    margin-bottom: 25px;
    border-bottom: 2px solid #1e2d3a;
}

.main__form-tab ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.main__form-tab li {
    flex: 1;
}

.main__form-tab label {
    display: block;
    text-align: center;
    cursor: pointer;
    padding-bottom: 12px;
    position: relative;
}

.main__form-tab input[type="radio"] {
    display: none;
}

.main__form-tab span {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    letter-spacing: 1.5px;
    color: #4f5e6d;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.main__form-tab input[type="radio"]:checked + span {
    color: #ffffff;
}

.main__form-tab label:has(input[type="radio"]:checked) {
    border-bottom: 2px solid #ed5d15;
    margin-bottom: -2px;
}

/* ═══════════════════════════════════════════════
   FORM
   ═══════════════════════════════════════════════ */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════
   INPUT FIELDS
   ═══════════════════════════════════════════════ */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #5a6f80;
    font-size: 15px;
    z-index: 2;
}

.input-group input {
    width: 100%;
    background-color: #0b1116;
    border: 1px solid #202d3a;
    border-radius: 5px;
    padding: 0 23px 0 45px;
    height: 45px;
    line-height: 45px;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    outline: none;
    transition: all 0.4s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.input-group input:focus {
    border-color: #ed5d15;
}

/* ═══════════════════════════════════════════════
   CAPTCHA
   ═══════════════════════════════════════════════ */
.captcha-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-img {
    background-color: #ffffff;
    border-radius: 5px;
    height: 45px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    border: 2px solid #ed5d15;
    background-image: repeating-linear-gradient(
        45deg,
        #f0f0f0 0px, #f0f0f0 2px,
        transparent 2px, transparent 10px
    );
}

.captcha-img span {
    color: #e0692d;
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    transform: rotate(-3deg);
    text-decoration: line-through;
}

.captcha-input {
    flex: 1;
    background-color: #0b1116;
    border: 1px solid #202d3a;
    border-radius: 5px;
    padding: 0 23px;
    height: 45px;
    line-height: 45px;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    outline: none;
    transition: all 0.4s ease;
}

.captcha-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.captcha-input:focus {
    border-color: #ed5d15;
}

/* ═══════════════════════════════════════════════
   SUBMIT BUTTON — .sitebutton.orange from live
   ═══════════════════════════════════════════════ */
.submit-btn {
    background-color: #ed5d15;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    min-height: 50px;
    font-family: 'Bebas Neue', cursive;
    font-size: 30px;
    letter-spacing: 1.5px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    text-align: center;
}

.submit-btn:hover {
    background-color: #d85311;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.form-footer {
    margin-top: 25px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.form-footer a {
    color: #ed5d15;
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media screen and (max-width: 540px) {
    .main__form-newWrap {
        padding: 30px 20px;
    }
    
    .main__form {
        border-radius: 10px;
    }
    
    .main__form-logo img {
        height: 42px;
    }
}

@media screen and (max-width: 380px) {
    .captcha-container {
        flex-direction: column;
    }
    
    .captcha-img,
    .captcha-input {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 24px;
    color: #6b7280;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
}

.site-footer a {
    color: #ed5d15;
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    text-decoration: underline;
}
