.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000000, #1a0000, #2b0000, #3d0000);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow: hidden;
}

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

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0) 70%);
    transform: rotate(45deg);
    z-index: 1;
}

.login-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0) 70%);
    transform: rotate(45deg);
    z-index: 1;
}

.login-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff0000, #ff3333, #ff0000);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.login-header .logo-text {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.login-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-form .form-control {
    padding: 0.9rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    background-color: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    background-color: #333;
    border-color: #555;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-login {
    background: linear-gradient(45deg, #ff0000, #ff3333);
    border: none;
    color: white;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-login:hover {
    background: linear-gradient(45deg, #e60000, #ff0000);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.login-divider span {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.login-divider p {
    margin: 0 1rem;
    color: #aaa;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
}

.login-footer p {
    margin-bottom: 1.5rem;
    color: #aaa;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.2));
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.1));
}

/* Error message styling */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    color: #fff;
}