body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.card {
    background: #242526;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(78, 105, 162, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 0.8;
}

.card-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.form-control {
    background: #343a40;
    border: 1px solid #495057;
    border-radius: 10px;
    color: #ffffff;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #343a40;
    border-color: #4e69a2;
    box-shadow: 0 0 10px rgba(78, 105, 162, 0.5), 0 0 0 3px rgba(78, 105, 162, 0.2);
    color: #ffffff;
    transform: scale(1.01);
}

.input-group-text {
    background: #343a40;
    border: 1px solid #495057;
    border-radius: 10px;
    color: #adb5bd;
}

.input-group-text:hover {
    background: #4e69a2;
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(90deg, #4e69a2, #6a89cc);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #3b4a8c, #5a75b3);
    box-shadow: 0 0 15px rgba(78, 105, 162, 0.6);
    transform: translateY(-2px);
}

.eye-toggle {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.eye-toggle:hover {
    transform: scale(1.1);
}

.alert {
    border-radius: 10px;
    background: linear-gradient(90deg, #dc3545, #e4606d);
    color: #ffffff;
    animation: slideIn 0.5s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 10;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.alert.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-60px);
}

h3 {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease;
}

.form-label {
    color: #adb5bd;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-label:hover {
    color: #ffffff;
}

.input-group {
    transition: all 0.3s ease;
}

.input-group:hover .input-group-text {
    border-color: #4e69a2;
}

.container {
    animation: fadeIn 1s ease;
}