/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, #000000, #1a1a1a, #2a0a0a);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(200,20,20,0.05)" fill-opacity="1" d="M0,128L30,138.7C60,149,120,171,180,160C240,149,300,107,360,90.7C420,75,480,85,540,112C600,139,660,181,720,186.7C780,192,840,160,900,144C960,128,1020,128,1080,128C1140,128,1200,128,1260,122.7C1320,117,1380,107,1410,101.3L1440,96L1440,320L1410,320C1380,320,1320,320,1260,320C1200,320,1140,320,1080,320C1020,320,960,320,900,320C840,320,780,320,720,320C660,320,600,320,540,320C480,320,420,320,360,320C300,320,240,320,180,320C120,320,60,320,30,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: 100%;
    z-index: 0;
}

.login-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.login-form {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(200, 20, 20, 0.2);
}

.login-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(200, 20, 20, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.login-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c81414, transparent);
    bottom: -10px;
    left: 25%;
}

.login-header p {
    color: #bbb;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.login-input-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.login-input-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #ddd;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.login-input-group .input-group-text {
    background-color: #c81414;
    color: white;
    border: none;
    transition: all 0.3s;
}

.login-input-group .input-group {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.login-input-group input {
    background-color: #333;
    border: 1px solid #444;
    border-left: none;
    border-radius: 0 5px 5px 0;
    padding: 0.7rem;
    transition: all 0.3s;
    font-size: 1rem;
    color: #fff;
}

.login-input-group input:focus {
    border-color: #c81414;
    box-shadow: 0 0 0 0.2rem rgba(200, 20, 20, 0.25);
    outline: none;
    background-color: #3a3a3a;
}

.login-input-group input:focus + .input-group-text,
.login-input-group .input-group:hover .input-group-text {
    background-color: #a01010;
}

.login-input-group .toggle-password {
    border: 1px solid #444;
    border-left: none;
    background: #333;
    color: #bbb;
    border-radius: 0 5px 5px 0;
    padding: 0.7rem;
    transition: all 0.3s;
}

.login-input-group .toggle-password:hover {
    background-color: #444;
    color: #fff;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
}

.remember-me input {
    margin-right: 0.5rem;
    cursor: pointer;
}

.remember-me label {
    color: #bbb;
    font-size: 0.95rem;
    cursor: pointer;
}

.login-btn {
    background: linear-gradient(135deg, #c81414, #7a0a0a);
    border: none;
    color: white;
    padding: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 15px rgba(200, 20, 20, 0.3);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.login-btn:hover {
    background: linear-gradient(135deg, #a01010, #6a0808);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(200, 20, 20, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(200, 20, 20, 0.3);
}

.login-links {
    text-align: center;
    font-size: 0.95rem;
}

.login-links p {
    margin-bottom: 0.6rem;
    color: #aaa;
}

.login-links a {
    color: #c81414;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.login-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #c81414;
    transition: width 0.3s;
}

.login-links a:hover {
    color: #ff3333;
}

.login-links a:hover::after {
    width: 100%;
}

/* Admin-specific styles can be added here */
.admin-badge {
    background-color: #c81414;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 5px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 20, 20, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(200, 20, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 20, 20, 0);
    }
}

/* Mobile styles */
@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-form {
        padding: 1.5rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
} 