/* assets/css/login.css */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #020617 0%, #0f4c81 100%); /* Vibrant deep blue */
    position: relative;
    overflow: hidden;
}

/* Background Animated Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(56, 189, 248, 0.4);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(37, 99, 235, 0.4); /* Blue-600 */
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(147, 197, 253, 0.3); /* Blue-300 */
    top: 40%;
    left: 40%;
    animation-delay: -2s;
    animation-duration: 15s;
}

.login-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255,255,255,0.05);
    transform: translateY(30px);
    opacity: 0;
    animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #bae6fd, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(186, 230, 253, 0.3);
}

.login-subtitle {
    color: #93c5fd;
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    color: #bfdbfe;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.6);
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.1); }
}

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}
