:root {
    --primary-color: #4CAF50;
    --gradient-bg: linear-gradient(135deg, #1a1a1a 0%, #2d4059 100%);
}

.btn-login {
    background: var(--primary-color);
    border: none;
    padding: 12px 0;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 8px;
    width: 100%;
    z-index: 1;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.title {
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-message {
    background: rgba(255, 76, 76, 0.15);
    border: 1px solid rgba(255, 76, 76, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    color: white;
    text-align: center;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.eye-toggle-btn {
    position: absolute;
    top: 70%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.eye-toggle-btn:hover {
    color: var(--primary-color);
}

.position-relative {
    position: relative;
    z-index: 1;
}

body {
    background: var(--gradient-bg);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
}

.login-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-150%); }
    100% { transform: rotate(45deg) translateX(150%); }
}

.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background: rgba(245, 240, 240, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
    color: white;
    outline: none;
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}