* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #002D54, #004a87);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #fff;
    width: 100%;
    max-width: 380px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo img {
    max-height: 55px;
}

/* Partner */
.partner-slider {
    overflow: hidden;
    margin-bottom: 25px;
}

.partner-track {
    display: flex;
    width: max-content;
    animation: scroll 18s linear infinite;
}

.partner-track img {
    height: 32px;
    margin: 0 16px;
    opacity: 0.8;
    filter: grayscale(100%);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Heading */
h2 {
    text-align: center;
    color: #002D54;
    margin-bottom: 14px;
}

/* Error box */
.error-box {
    background: #fdecea;
    color: #b00020;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid #f5c2c0;
}

/* Form */
label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background: #D4AF37;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #002D54;
}

button:hover {
    background: #c9a633;
}

/* Login link */
.login {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login a {
    color: #002D54;
    font-weight: bold;
    text-decoration: none;
}

@media(max-width: 400px) {
    .card {
        padding: 20px;
    }
}

/* Brand Styling */
    .brand-title { color: #0F3C68; font-weight: 800; font-size: 24px; margin-bottom: 5px; display: block; }
    
    /* Badge Styling */
    .badge-container { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
    .badge-custom { 
        padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; 
        text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid transparent;
    }
    .badge-apply { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
    .badge-loan { background: #fef3c7; color: #92400e; border-color: #fde68a; }