:root{
    --brand-red:#e50914;
    --brand-gold:#f5c542;
    --muted:#b8b8b8
}
 *{
    box-sizing:border-box
}
 html,body{
    min-height:100%;
    margin:0
}
 body{
    font-family: "Inter Tight", sans-serif;
    color:#fff;
    background:#090506;
}
 .page-shell{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    position:relative;
    isolation:isolate
}
 .page-shell:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-2;
    background:url('../images/bg-signin.png') center center/cover no-repeat
}
 .page-shell:after{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(10,0,3,.72) 48%,rgba(0,0,0,.6)),linear-gradient(180deg,rgba(0,0,0,.95),rgba(0,0,0,.6))
}
 .site-header{
    min-height:92px;
    padding:14px 5.5%;
    display:flex;
    align-items:center;
    justify-content:space-between
}
 .brand{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    color:#fff;
    min-width:150px
}
 .brand img{
    width:155px;
    max-height:75px;
    object-fit:contain;
    object-position:left center
}
 .brand-fallback{
    display:none;
    font-weight:900;
    font-size:20px;
    line-height:.9;
    color:var(--brand-gold);
    text-shadow:0 2px 5px #000
}
 .brand-fallback strong{
    color:#fff;
    font-size:23px
}
 .top-nav{
    display:flex;
    gap:18px;
    align-items:center;
    font-size:14px;
    font-weight:700
}
 .top-nav a{
    color:#fff;
    text-decoration:none
}
.top-nav a:hover,.top-nav a.active{
    color:var(--brand-gold)
}
 .login-area{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:25px 15px 55px
}
 .login-card{
    width:100%;
    max-width:450px;
    padding:38px 38px 30px;
    background:rgba(9,7,8,.84);
    border:1px solid rgba(255,255,255,.3);
    border-radius:12px;
    box-shadow:0 18px 55px rgba(0,0,0,.55);
    backdrop-filter:blur(9px);
    border-width: 4px;
}
 .login-card h1{
    text-align:center;
    font-size:30px;
    font-weight:800;
    margin:0 0 8px;
    letter-spacing: 1px;
}
 .subtitle{
    text-align:center;
    color:#d2d2d2;
    font-size:14px;
    margin-bottom:25px
}
.subtitle span{
    color:var(--brand-gold);
    font-weight:700
}
 .google-btn{
    width:100%;
    height:48px;
    background:#fff;
    color:#222;
    border:0;
    font-weight:600
}
.google-btn:hover{
    background:#eaeaea;
    color:#111
}
 .google-g{
    font-size:20px;
    font-weight:800;
    color:#4285f4;
    margin-right:9px
}
 .divider{
    display:flex;
    align-items:center;
    gap:14px;
    color:#bbb;
    margin:21px 0
}
.divider:before,.divider:after{
    content:"";
    height:1px;
    flex:1;
    background:rgba(255,255,255,.25)
}
 .form-control{
    height: 45px;
    background:rgba(35,31,32,.94);
    border:1px solid #777;
    border-radius:5px;
    color:#fff;
    padding:12px 14px
}
.form-control::placeholder{
    color:#c5c5c5
}
.form-control:focus{
    background:rgba(35,31,32,.98);
    color:#fff;
    border-color:#fff;
    box-shadow:0 0 0 .15rem rgba(255,255,255,.12)
}
 .password-wrap{
    position:relative
}
.password-wrap .form-control{
    padding-right:65px
}
.password-toggle{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:none;
    color:#ddd;
    font-size:12px
}
 .btn-signin{
    width:100%;
    height:49px;
    background:var(--brand-red);
    color:#fff;
    font-size:16px;
    font-weight:700;
    border:0;
    border-radius:5px
}
.btn-signin:hover{
    background:#c90812;
    color:#fff
}
 .form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-top:15px;
    font-size:13px;
    color:var(--muted)
}
 .form-check{
    display:flex;
    align-items:center;
    gap:7px;
    margin:0
}
.form-check-input{
    margin:0;
    background-color:#222;
    border-color:#aaa
}
.form-check-input:checked{
    background-color:var(--brand-red);
    border-color:var(--brand-red)
}
 .form-options a,.signup-note a,.help-note a{
    color:var(--brand-gold);
    text-decoration:none
}
.form-options a:hover,.signup-note a:hover,.help-note a:hover{
    text-decoration:underline
}
 .signup-note{
    color:#ccc;
    font-size:13px;
    margin:27px 0 7px
}
.signup-note a{
    font-weight:700
}
.help-note{
    color:#aaa;
    font-size:12px;
    margin:0
}
 .site-footer{
    background:rgba(0,0,0,.78);
    border-top:1px solid rgba(255,255,255,.16);
    padding:23px 0 18px;
    color:#aaa;
    font-size:13px
}
 .footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px 26px
}
.footer-links a{
    color:#bbb;
    text-decoration:underline
}
.footer-links a:hover{
    color:#fff
}
.copyright{
    text-align:center;
    margin:22px 0 0;
    color:#aaa
}
 @media(max-width:575.98px){
    .site-header{
        min-height:75px;
        padding:12px 20px
    }
    .brand img{
        width:125px
    }
    .login-area{
        padding:20px 12px 38px;
        align-items:flex-start
    }
    .login-card{
        padding:30px 22px 25px;
        background:rgba(5,4,5,.9)
    }
    .login-card h1{
        font-size:27px
    }
    .top-nav{
        gap:10px;
        font-size:12px
    }
    .site-footer{
        padding:22px 8px 18px
    }
    .footer-links{
        gap:12px 18px
    }
    .copyright{
        text-align:left
    }
    .page-shell:before{
        background-position:center center
    }
}
/* Labels above sign-in fields */
.field-label{
    display:block;
    color:#aaa;
    font-size:12px;
    margin:0 2px 7px;
}
/* Email / mobile sign-in fields */
 .identity-row{
    display:flex;
    gap:8px;
    align-items:stretch
}
 .identity-row>.form-control{
    min-width:0;
    flex:1
}
 .country-code-wrap{
     width:100px;
     flex:0 0 100px
 }
 .country-code{
     height:45px;
     width:100%;
     background-color:rgba(35,31,32,.96);
     background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23d8d8d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
     background-repeat:no-repeat;
     background-position:right 9px center;
     background-size:12px 8px;
     appearance:none;
     -webkit-appearance:none;
     border:1px solid #777;
     border-radius:5px;
     color:#fff;
     padding:10px 27px 10px 8px
 }
 .country-code:focus{
    background-color:rgba(35,31,32,.98);
    color:#fff;
    border-color:#fff;
    box-shadow:0 0 0 .15rem rgba(255,255,255,.12)
}
 .country-code option{
    background:#211c1e;
    color:#fff
}
 .field-help{
    display:block;
    color:#aaa;
    font-size:11px;
    margin:7px 2px 0
}
 [hidden]{
    display:none!important
}
 @media(max-width:575.98px){
    .country-code-wrap{
        width:92px;
         flex-basis:92px
    }
    .identity-row{
        gap:6px
    }
}
/* Separate mobile OTP verification screen */
 .otp-phone-note{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    margin:0 0 20px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:5px;
    background:rgba(35,31,32,.75);
    font-size:13px;
    color:#ddd;
    overflow-wrap:anywhere
}
 .otp-phone-note a,.resend-note button{
    color:var(--brand-gold);
    text-decoration:none;
    font-weight:700;
    background:none;
    border:0;
    padding:0
}
 .otp-input{
    text-align:center;
    letter-spacing:7px;
    font-size:20px
}
 .resend-note{
    text-align:center;
    color:#aaa;
    font-size:12px;
    margin:18px 0 0
}
 .resend-note button:hover,.otp-phone-note a:hover{
    text-decoration:underline
}
/* Four compact OTP digit boxes */
 .otp-boxes{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:4px 0 12px
}
 .otp-digit.form-control{
    width: 32px;
    FONT-WEIGHT: 200;
    flex: 0 0 42px;
    text-align:center;
    font-size:22px;
    font-weight:700;
    padding:6px;
    letter-spacing:0
}
 .otp-digit.form-control:focus{
    border-color:var(--brand-gold);
    box-shadow:0 0 0 .15rem rgba(245,197,66,.2)
}
 @media(max-width:420px){
    .otp-boxes{
        gap:8px
    }
    .otp-digit.form-control{
        width: 32px;
        height: 41px;
        flex-basis: 38px;
    }
}


/* Forgot Password Start --- */

 .reset-card {
     max-width: 430px;
     background:#f5f5f5;
     color:#111;
     border:0;
     border-radius:0;
     padding:34px 32px 30px;
     backdrop-filter:none;
     box-shadow:0 12px 35px rgba(0,0,0,.4);
     border-radius: 12px;
}
 .reset-card h1 {
     text-align:left;
     font-size:26px;
     line-height:1.25;
     margin-bottom:10px;
     letter-spacing: 1px;
}
 .reset-card .subtitle {
     text-align:left;
     color:#222;
     margin-bottom:18px;
}
 .reset-card .form-control, .reset-card .country-code {
     background:#fff;
     color:#111;
     border:1px solid #888;
     height:42px;
}
 .reset-card .form-control::placeholder {
     color:#555;
}
 .reset-card .form-control:focus, .reset-card .country-code:focus {
     background:#fff;
     color:#111;
     border-color:#333;
}
 .reset-card .field-help {
     color:#333;
     font-size:13px;
     line-height:1.35;
     margin:0 0 18px;
}
 .reset-choice {
     display:flex;
     align-items:center;
     gap:9px;
     margin:0 0 9px;
     font-size:14px;
     color:#111;
}
 .reset-choice input {
     accent-color:#111;
     width:15px;
     height:15px;
}
 .reset-card .btn-signin {
     margin-top:18px;
}
 .reset-card .back-link {
     display:inline-block;
     margin-top:20px;
     color:#111;
     font-size:13px;
}
 @media(max-width:575.98px){
     .reset-card{
        padding:28px 22px;
    }
}


/* Forgot Password End --- */


/* Login Help Start --- */
     
        /* Main Section */
        .main-section {
            min-height: 480px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 70px 15px;
           
        }

        /* Email Sent Box */
        .email-box {
            width: 100%;
            max-width: 487px;
            background: #f3f3f3;
            color: #111;
            padding: 42px 40px;
             border-radius: 12px;
        }

        .email-box h1 {
            font-size: 30px;
            margin-bottom: 22px;
            font-weight: 700;
        }

        .email-box p {
            font-size: 16px;
            line-height: 22px;
            margin-bottom: 20px;
        }

        .email-box p:last-child {
            margin-bottom: 0;
        }

        .email-box a {
            color: #111;
            text-decoration: underline;
        }

        
   /* Login Help End --- */


    /* Login Help End --- */
/* Compact country calling-code selector on forgot-password */
#phoneInputGroup .country-code{
    width:78px;
    min-width:78px;
    flex:0 0 78px;
    height:42px;
    padding:8px 5px;
    font-size:13px;
}

#phoneInputGroup .country-code{
 appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 25px;

    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 12px 12px;
}


#phoneInputGroup #resetPhone{
    min-width:0;
    flex:1 1 auto;
}





/* ---- Messages from the server (added when connecting to the backend) ---- */
.form-message{
    border-radius:6px;
    padding:10px 12px;
    margin:0 0 16px;
    font-size:14px;
    line-height:1.4;
    text-align:left;
}
.form-message[hidden]{display:none}
.form-message.is-error{background:rgba(229,9,20,.15);border:1px solid #e50914;color:#ffd6d8}
.form-message.is-success{background:rgba(46,160,67,.15);border:1px solid #2ea043;color:#d6ffe0}
.form-message.is-info{background:rgba(245,197,66,.12);border:1px solid #f5c542;color:#fff3cf}
.reset-card .form-message.is-error{color:#8a0007;background:#fde7e8}
.reset-card .form-message.is-success{color:#0f5323;background:#e3f6e8}
.reset-card .form-message.is-info{color:#5c4500;background:#fff6dc}
.btn[disabled]{opacity:.65;cursor:wait}
