body {
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.logo-section h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-section .text-muted {
    margin: 5px 0 0;
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

h2 {
    text-align: center;
    margin: 0 0 5px;
    color: #111827;
    font-weight: 700;
    font-size: 22px;
}

.subtitle {
    text-align: center;
    margin: 0 0 30px;
    color: #6b7280;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #f9fafb;
    color: #1f2937;
}

.input-group input:focus {
    border-color: #3b82f6;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-group input::placeholder {
    color: #9ca3af;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #1d4ed8;
}

.error-message {
    background-color: #fef2f2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #fecaca;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #4b5563;
    transition: color 0.3s ease;
    z-index: 1000;
}

.dark-mode-toggle:hover {
    color: #111827;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #111827;
    color: #f3f4f6;
}

body.dark-mode .dark-mode-toggle {
    color: #fbbf24;
}

body.dark-mode .dark-mode-toggle:hover {
    color: #f59e0b;
}

body.dark-mode .login-card {
    background-color: #1f2937;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

body.dark-mode h2, 
body.dark-mode h3,
body.dark-mode label {
    color: #f3f4f6;
}

body.dark-mode .subtitle,
body.dark-mode .text-muted {
    color: #9ca3af !important;
}

body.dark-mode .input-wrapper {
    background-color: #374151;
    border: 1px solid #4b5563;
}

body.dark-mode .input-wrapper input {
    color: #f3f4f6;
    background-color: transparent;
}

body.dark-mode .input-wrapper input::placeholder {
    color: #9ca3af;
}

body.dark-mode .input-icon {
    color: #9ca3af;
}