/* =====================================
   LOGIN PAGE STYLES
   ===================================== */

/* Card */
.login-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.8);
    position: relative;
}

/* Back Button */
.login-back-btn {
    position: absolute;
    top: 45px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-back-btn:hover {
    background: #fff;
    color: #000;
}

/* Title */
.login-title {
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    color: #aaa;
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.login-dot {
    color: #E50914;
}

/* Form Label */
.login-label {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Input Container */
.login-input-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-input-box:focus-within {
    border-color: #E50914;
    box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
}

.country-code {
    color: #fff;
    font-weight: 500;
    margin-right: 12px;
    font-size: 15px;
}

/* Country Select Dropdown */
.country-select {
    width: 70px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent !important;
    cursor: pointer;
}

.country-select option {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 10px;
}

.divider-line {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    margin: 0 12px;
}

.login-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px;
    width: 100%;
    padding: 0;
}

.login-input::placeholder {
    color: #666;
}

.login-input:focus {
    outline: none;
}

/* Button */
.login-btn {
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #E50914 0%, #800108 100%);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: linear-gradient(90deg, #800108 0%, #E50914 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229,9,20,0.4);
}

.login-btn:active {
    transform: translateY(0);
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #666;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.login-divider span {
    padding: 0 16px;
    white-space: nowrap;
}

/* Social Buttons */
.login-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    max-width: 100px;
    height: 56px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    padding:15px;
}

.social-btn:hover {
    background: #fff;
    border-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.social-btn svg {
    transition: all 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn img {
    width: 24px;
    height: 24px;
}

/* Mobile toggle buttons */
.social-btn.phone-btn:hover {
    background: white;
    border-color: white;
}

.social-btn.email-btn:hover {
    background: white;
    border-color: white;
}

/* OTP Container */
.login-otp-container {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 24px 0;
}

/* Individual OTP Inputs */
.login-otp {
    flex: 1;
    max-width: 50px;
    height: 54px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.login-otp:focus {
    border-color: #E50914;
    box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
    outline: none;
}

/* OTP Timer */
.login-timer {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 16px;
}

.login-timer span {
    color: #E50914;
    font-weight: 600;
}

/* Change Number Link */
.login-change {
    color: #E50914;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.login-change:hover {
    text-decoration: underline;
}

/* Error Message */
.login-error {
    color: #f0506e;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}

/* Step Toggle */
.login-step {
    display: none;
}

.login-step.active-step {
    display: block;
}

/* =====================================
   RESPONSIVE STYLES
   ===================================== */

/* Tablet */
@media (max-width: 768px) {
    .login-card {
        max-width: 90%;
        padding: 32px 28px;
    }
    
    .login-navbar .uk-container-large {
        padding: 0 20px;
    }
    
    .login-logo {
        height: 15px;
    }
    
    .login-title {
        font-size: 26px;
    }
    
    .login-input-box {
        padding: 12px 14px;
    }
    
    .login-btn {
        padding: 12px 20px;
    }
    
    .social-btn {
        height: 52px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .login-card {
        max-width: 95%;
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .login-navbar {
        min-height: 54px;
    }
    
    .login-navbar .uk-container-large {
        padding: 0 16px;
        min-height: 54px;
    }
    
    .login-logo {
        height: 12px;
    }
    
    .login-nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .login-section {
        min-height: 0px !important;
        padding-top: 70px;
    }
    
    .login-back-btn {
        top: 12px;
        left: 12px;
        width: 32px;
        height: 32px;
    }
    
    .login-title {
        font-size: 22px;
        margin-top: 8px;
    }
    
    .login-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .login-label {
        font-size: 12px;
    }
    
    .login-input-box {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .country-code {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .divider-line {
        margin: 0 8px;
    }
    
    .login-input {
        font-size: 14px;
    }
    
    .login-btn {
        padding: 12px 16px;
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .login-divider {
        margin: 20px 0;
    }
    
    .login-divider span {
        font-size: 12px;
        padding: 0 12px;
    }
    
    .login-social {
        margin-bottom: 20px;
    }
    
    .social-btn {
        height: 48px;
        max-width: 80px;
        border-radius: 10px;
    }
    
    .social-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .login-otp-container {
        gap: 6px;
        margin: 20px 0;
    }
    
    .login-otp {
        max-width: 42px;
        height: 48px;
        font-size: 18px;
    }
    
    .login-timer {
        font-size: 12px;
    }
}

/* Extra Small */
@media (max-width: 360px) {
    .login-card {
        padding: 20px 16px;
    }
    
    .login-logo {
        height: 10px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .social-btn {
        height: 44px;
        max-width: 70px;
    }
    
    .login-otp {
        max-width: 38px;
        height: 44px;
        font-size: 16px;
    }
}

/* =====================================
   NAVBAR STYLES
   ===================================== */

.login-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #000 !important;
    min-height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.login-navbar .uk-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.login-navbar .uk-container-large {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.login-logo {
    height: 20px;
    width: auto;
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.05);
}

.login-nav-link {
    color: #999;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    text-transform: lowercase;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

.login-nav-link:hover {
    color: #fff;
    text-decoration: none;
}

/* Login section padding to account for fixed navbar */
.login-section {
    background: #050203;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px;
    box-sizing: border-box;
}
