body {
    background: linear-gradient(135deg, #2b1055 0%, #4b296b 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.leaves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAwIDUwQzUwIDUwIDAgMTAwIDAgMTUwQzAgMjAwIDUwIDIwMCAxMDAgMjAwQzE1MCAyMDAgMjAwIDE1MCAyMDAgMTAwQzIwMCA1MCAxNTAgNTAgMTAwIDUwWiIgZmlsbD0icmdiYSgxNDEsIDEyMywgMjU1LCAwLjEpIi8+PC9zdmc+');
    background-repeat: repeat-x;
    z-index: 0;
}

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

.auth-form {
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.auth-form.active {
    display: block !important;
    transform: translateY(0);
    opacity: 1;
}

#loginForm {
    display: block;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(78, 90, 255, 0.25);
    border-color: #4e5aff;
}

.btn-primary {
    background: #4e5aff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #3a45ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 90, 255, 0.3);
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

.navbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    transform: translateY(-1px);
}

.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    min-width: 300px;
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.password-requirements {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

