body { 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
}

.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card { 
    border: none; 
    border-radius: 20px; 
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-header { 
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #fff; 
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-header .title { 
    font-weight: 700; 
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-header .btn-light {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.auth-header .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.auth-body { 
    padding: 2rem 1.5rem;
}

.auth-footer { 
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(248,249,250,0.5);
}

.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating > .form-control { 
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 1.25rem 1rem;
}

.form-floating > .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
    transform: translateY(-2px);
}

.form-floating label {
    padding: 1.25rem 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    border-radius: 12px;
    padding: 0.875rem;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13,110,253,0.4);
}

.toggle-password { 
    position: absolute; 
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
    border: none; 
    background: transparent; 
    color: #6c757d;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.toggle-password:hover {
    color: #0d6efd;
    transform: translateY(-50%) scale(1.2);
}

.muted-link { 
    color: #0d6efd; 
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.3s ease;
}

.muted-link:hover { 
    color: #0b5ed7; 
    text-decoration: underline;
}

.alert {
    border-radius: 12px;
    border: none;
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.9);
    animation: float 3s ease-in-out infinite;
}

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