/* Login Page Styles */
.login-page {
    margin: 0;
    padding: 0;
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.login-page .main-header {
    background: rgba(255, 255, 255, 0.95);
}

.login-page .logo a {
    text-decoration: none;
}

.login-page .logo h1 {
    color: var(--primary-red);
}

.login-page .logo h1 i {
    color: var(--primary-blue);
}

.login-page .nav-menu {
    z-index: 1001;
}

.login-page .bg-circles {
    z-index: 0;
}

.login-page .profile-icon {
    background: var(--primary-red);
    color: #fff;
}

.login-page .profile-icon:hover {
    background: #a01f24;
    transform: scale(1.1);
}

/* Animated Background Circles */
.bg-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-red);
    opacity: 0.2;
    filter: blur(80px);
    animation: float 25s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: -10%;
    animation-delay: 7s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 60%;
    animation-delay: 14s;
}

.circle-4 {
    width: 450px;
    height: 450px;
    top: 20%;
    right: 20%;
    animation-delay: 21s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(50px, -40px) scale(1.15);
        opacity: 0.25;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.85);
        opacity: 0.15;
    }
    75% {
        transform: translate(40px, 50px) scale(1.1);
        opacity: 0.22;
    }
}

/* Login Container */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3.5rem 5rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    height: 100px;
}

.logo-login i {
    font-size: 3rem;
    color: var(--primary-red);
    filter: drop-shadow(0 2px 4px rgba(193, 39, 45, 0.3));
}

.logo-login h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 700;
}

.login-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-blue);
}

.form-group input {
    padding: 1rem 1.3rem;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(44, 95, 124, 0.08);
    transform: translateY(-1px);
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-left: 3rem;
}

.toggle-password {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-blue);
}

/* Login Button */
.btn-login {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01f24 100%);
    color: #fff;
    padding: 1.1rem;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(193, 39, 45, 0.2);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(193, 39, 45, 0.35);
}

.btn-login:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .login-container {
        max-width: 600px;
    }
    
    .login-box {
        padding: 3rem 3rem;
    }
}

@media (max-width: 768px) {
    .login-page {
        padding-top: 80px;
    }
    
    .login-container {
        max-width: 480px;
    }
    
    .login-box {
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }
    
    .login-header h2 {
        font-size: 1.7rem;
    }
    
    .logo-login h1 {
        font-size: 1.7rem;
    }
    
    .logo-login i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding-top: 75px;
    }
    
    .login-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .logo-login h1 {
        font-size: 1.5rem;
    }
}
