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

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.card-header {
    background: linear-gradient(90deg, #2563eb 0%, #4f9aff 100%);
    color: white;
    padding: 40px 24px 32px;
    text-align: center;
}

.logo-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-header p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.95;
}

.card-body {
    padding: 32px 28px 36px;
    background: #ffffff;
}

.card-body h2 {
    text-align: center;
    font-size: 32px;
    color: #111827;
    margin-bottom: 8px;
}

.sub-text {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.alert-error, .alert-success {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
    background: #f9fafb;
}

.input-group input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.eye-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.bottom-links {
    margin-top: 24px;
    text-align: center;
}

.bottom-links a {
    color: #4338ca;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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