.login-page {
    background: linear-gradient(-45deg, #4B79A1, #283E51, #2C3E50, #3498DB);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.8;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.login-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    z-index: 0;
}

.login-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

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

.login-box > * {
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header .logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-container i {
    font-size: 36px;
    color: #0A4BD2;
    text-shadow: 0 0 10px rgba(10, 75, 210, 0.5);
}

.login-header h1 {
    font-size: 28px;
    color: #0A4BD2;
    margin: 0 0 8px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(10, 75, 210, 0.3);
    letter-spacing: 0.5px;
}

.login-header h2 {
    font-size: 24px;
    color: #0A4BD2;
    margin: 0 0 16px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(10, 75, 210, 0.3);
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0A4BD2;
    font-size: 18px;
    text-shadow: 0 0 8px rgba(10, 75, 210, 0.3);
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.9;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    accent-color: #ffffff;
}

.forgot-password {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    opacity: 0.9;
}

.forgot-password:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 1;
}

.login-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(45deg, #0A4BD2, #003EBF);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(10, 75, 210, 0.3);
}

.login-btn:hover {
    background: linear-gradient(45deg, #003EBF, #0A4BD2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 75, 210, 0.4);
}

.login-btn:hover i {
    transform: translateX(4px);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(10, 75, 210, 0.3);
}

@media (max-width: 480px) {
    .login-container {
        padding: 16px;
    }
    
    .login-box {
        padding: 32px 24px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
} 