.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(-15deg);
    border-radius: 50%;
    pointer-events: none;
}

.login-page .login-container {
    position: relative;
    z-index: 1;
}

.login-card {
    background: #ffffff;
    border: 3px solid #1d4ed8;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.35),
        0 0 0 6px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(30, 64, 175, 0.3);
}

.login-card .card-body {
    padding: 2.5rem !important;
}

.login-logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.login-logo-circle i {
    font-size: 2.5rem;
    color: white;
}

.login-title {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.login-page .form-control {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.login-page .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.login-page .input-group-text {
    border-radius: 12px 0 0 12px;
    border: 2px solid #e2e8f0;
    border-right: none;
    background: #f8fafc;
    color: #64748b;
}

.login-page .input-group .form-control {
    border-radius: 0 12px 12px 0;
    border-left: none;
}

.login-page .input-group:focus-within .input-group-text {
    border-color: #2563eb;
    color: #2563eb;
}

.login-page .input-group:focus-within .form-control {
    border-color: #2563eb;
}

.login-page .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.login-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

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

.login-page .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.login-page .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.login-page .btn-outline-primary,
.login-page .btn-outline-secondary {
    border-radius: 8px;
    border-width: 2px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.login-page .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.login-page .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.login-page .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.login-page .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.login-page .otp-input {
    width: 50px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.login-page .otp-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.login-page .alert {
    border-radius: 12px;
    border: none;
}

.login-page .text-muted-light {
    color: rgba(255, 255, 255, 0.6);
}

.login-page .text-white-link {
    color: rgba(255, 255, 255, 0.9);
}

.login-page .text-white-link:hover {
    color: white;
}

.login-page .footer-text {
    color: rgba(255, 255, 255, 0.5);
}

.login-page .btn-link {
    color: #2563eb;
    font-weight: 500;
}

.login-page .btn-link:hover {
    color: #1d4ed8;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-logo-circle {
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 576px) {
    .login-card .card-body {
        padding: 1.5rem !important;
    }
    
    .login-logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .login-logo-circle i {
        font-size: 2rem;
    }
    
    .login-page .otp-input {
        width: 38px;
        height: 46px;
        font-size: 1.1rem;
        line-height: 1.2;
        padding: 10px 2px;
    }
}
