/* Elegant Login Styles for Depo Hunter */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --accent-color: #06b6d4;
    --bg-dark-1: #0f172a;
    --bg-dark-2: #1e1b4b;
    --card-bg: rgba(30, 41, 59, 0.75);
    --card-border: rgba(255, 255, 255, 0.12);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body.login-body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at 20% 20%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Ambient glow orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    top: 10%;
    left: 15%;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: 12%;
    right: 15%;
    animation-delay: -6s;
}

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

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.brand-icon-wrapper {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
}

.brand-icon-wrapper i {
    font-size: 30px;
    color: #ffffff;
}

.login-header h2 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.65rem;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

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

.form-group-custom label {
    display: block;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-group .icon-left {
    position: absolute;
    left: 16px;
    color: #64748b;
    font-size: 1.05rem;
    transition: color 0.2s ease;
    pointer-events: none;
    z-index: 5;
}

.form-control-custom {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 13px 44px 13px 46px;
    font-size: 0.95rem;
    color: #f8fafc;
    transition: all 0.25s ease;
}

.form-control-custom:focus {
    background: rgba(15, 23, 42, 0.85);
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.input-icon-group:focus-within .icon-left {
    color: #818cf8;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
    z-index: 5;
}

.toggle-password:hover {
    color: #cbd5e1;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #94a3b8;
    user-select: none;
}

.custom-checkbox-wrapper input {
    margin-right: 8px;
    accent-color: #6366f1;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.btn-login-gradient {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #06b6d4 100%);
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #0891b2 100%);
}

.btn-login-gradient:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 0.8rem;
}

.alert-custom {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shakeAlert 0.4s ease-in-out;
}

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

.alert-custom-info {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #67e8f9;
}

@keyframes shakeAlert {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
