body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
}

h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

input {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    margin-top: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #e1251d;
    box-shadow: 0 0 0 3px rgba(225, 37, 29, 0.15);
}

button {
    margin-top: 24px;
    padding: 12px;
    background-color: #e1251d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #c41e17;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.error {
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 1rem;
    background: #fef2f2;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    text-align: left;
}

.success {
    color: #10b981;
    font-size: 13px;
    margin-bottom: 1rem;
    background: #ecfdf5;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d1fae5;
    text-align: left;
}

.extras {
    margin-top: 1.5rem;
}

.extras a {
    color: #e1251d;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.extras a:hover {
    color: #c41e17;
    text-decoration: underline;
}

footer {
    margin-top: 2.5rem;
    font-size: 11px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

footer a {
    color: #64748b;
    text-decoration: none;
    margin: 0 6px;
}

footer a:hover {
    color: #e1251d;
    text-decoration: underline;
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-10%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    -webkit-user-select: none;
    user-select: none;
}

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