@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --brand-red: #E00000; /* Akbank Red */
    --brand-dark: #1a1a1a;
    --brand-bg: #f4f6f9;
}

/* 1. FLEXBOX STICKY FOOTER FIX */
html, body {
    height: 100%; /* Ensure full height */
    margin: 0;
}

body {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
    font-family: 'Inter', sans-serif;
    color: var(--brand-dark);
    display: flex; /* Flexbox Layout */
    flex-direction: column; /* Stack vertical */
}

/* This pushes the footer down, but allows it to flow naturally if content is long */
.main-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

.footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

/* 2. LOGIN CARD STYLING */
.login-container {
    min-height: 80vh; /* Takes up most of the screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    /* Soft, high-quality shadow */
    box-shadow: 0 10px 40px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    border-top: 5px solid var(--brand-red); /* The only branding needed */
}

.login-body {
    padding: 2.5rem;
}

/* 3. FORM ELEMENTS */
.form-floating > .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
}

    .form-floating > .form-control:focus {
        border-color: var(--brand-red);
        box-shadow: 0 0 0 4px rgba(224, 0, 0, 0.1);
    }

.btn-brand {
    background-color: var(--brand-red);
    color: white;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 4px;
    width: 100%;
    transition: background 0.2s;
}

    .btn-brand:hover {
        background-color: #cc0000;
        color: white;
    }

/* Consent Box */
.consent-scroll {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 1rem;
    height: 100px;
    overflow-y: auto;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 1rem;
    border-radius: 4px;
}
