* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.logo i {
    font-size: 42px;
    color: #4f46e5;
    margin-bottom: 10px;
}

.login-card h2 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

.alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}

.alert.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.input-box {
    position: relative;
    margin-bottom: 18px;
}

.input-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.input-box input {
    width: 100%;
    padding: 12px 40px 12px 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-box input:focus {
    border-color: #4f46e5;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 14px;
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 20px;
}

.options .remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    cursor: pointer;
}

.options a {
    color: #4f46e5;
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.login-btn:hover {
    background: #4338ca;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 10px;
}

.register {
    font-size: 13px;
    color: #4b5563;
}

.register a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.register a:hover {
    text-decoration: underline;
}
/* Registration Page Support */

.login-box {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.login-box h2 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 24px;
}

.login-box input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.login-box input:focus {
    border-color: #4f46e5;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-box button:hover {
    background: #4338ca;
}

.bottom-text {
    margin-top: 18px;
    font-size: 13px;
    color: #4b5563;
}

.bottom-text a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.bottom-text a:hover {
    text-decoration: underline;
}

.alert.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}