:root {
    /* Kridtech "Hyper-Vibrant" Palette */
    --bg-base: #070707;
    /* Soft pink base */
    --bg-sidebar: #111111;
    /* Bright magenta-pink */
    --bg-card: #1A1A1A;
    /* Frost-white glass */

    --accent-pink: #df2fc4;
    --accent-purple: #702ae0;
    --accent-gradient: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
    --accent-neon: #ec4899;
    --accent-cyan: #ba84fb; /* Added for Resolved status */

    --text-primary: #f5f0f0;
    /* Deep navy-purple for high contrast */
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border-glass: #27272a;
    --shadow-pop: 0 10px 40px rgba(236, 72, 153, 0.15);
    --shadow-lg: 0 20px 60px rgba(236, 72, 153, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-base);
    background-image:
        radial-gradient(at 0% 0%, rgba(244, 114, 182, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0, transparent 50%),
        radial-gradient(at 50% 100%, rgba(217, 70, 239, 0.1) 0, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.login-card:hover {
    box-shadow: 0 25px 70px rgba(236, 72, 153, 0.25);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 32px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: var(--bg-base);
    border: 2px solid transparent;
    padding: 16px;
    border-radius: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input:focus {
    background: white;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.15);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.error-message.hidden {
    display: none;
}

.btn {
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    min-height: 52px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text {
    display: inline-block;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-loader.hidden {
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-card {
        padding: 36px 28px;
        border-radius: 24px;
    }
    
    .logo {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-subtitle {
        font-size: 0.85rem;
    }
    
    .form-group input {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

