* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: rgba(18, 18, 18, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo i {
    font-size: 2.5rem;
    color: #ff4757;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.login-header h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.login-header p {
    color: #b3b3b3;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: #ff4757;
    width: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff4757;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-wrapper {
    position: relative;
}

.show-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
}

.show-password:hover {
    color: #ff4757;
}

.forgot-link {
    text-align: right;
    margin-top: 8px;
}

.forgot-link a {
    color: #ff4757;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.forgot-link a:hover {
    opacity: 0.8;
}

.method-toggle {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-toggle p {
    color: white;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.toggle-buttons {
    display: flex;
    gap: 15px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: white;
}

.toggle-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.otp-wrapper {
    display: flex;
    gap: 15px;
}

.otp-wrapper input {
    flex: 1;
}

.send-otp {
    padding: 15px 25px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.send-otp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.send-otp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Skip OTP Section */
.skip-otp-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.skip-otp-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff4757;
    cursor: pointer;
}

.skip-otp-container label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.skip-otp-container label i {
    color: #ff6b81;
    font-size: 1rem;
}

.skip-note {
    font-size: 0.8rem;
    opacity: 0.8;
    font-style: italic;
    margin-left: 5px;
}

.otp-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff4757;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 6px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff4757;
    cursor: pointer;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.95rem;
}

.remember-me label i {
    color: #1db954;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1db954, #1ed760);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.5);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-btn.google:hover {
    background: #DB4437;
    border-color: #DB4437;
}

.social-btn.facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.signup-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 20px;
}

.signup-link a {
    color: #ff4757;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: opacity 0.3s ease;
}

.signup-link a:hover {
    opacity: 0.8;
}

.guest-option {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-btn {
    padding: 14px 30px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.guest-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.guest-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 25px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .otp-wrapper {
        flex-direction: column;
    }
    
    .send-otp {
        width: 100%;
    }
    
    .toggle-buttons {
        flex-direction: column;
    }
    
    .social-login {
        flex-direction: column;
    }
}