﻿:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    /* This creates the background image for the whole page */
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-container {
    
    display: flex;
    align-items: center; /* Vertically centers the card */
    justify-content: center; /* Horizontally centers the card */
    height: 100vh;
    padding: 20px; /* Ensures space on small screens */
    background: rgba(0, 0, 0, 0.2); /* Optional: adds a slight dark overlay to make the card pop */
}

.login-card {
    margin-top:-6vh;
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 16px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
.brand-section h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    margin: 0 0 8px 0;
    font-weight: 700;
}

    .brand-section h2 span {
        color: var(--primary-color);
    }

.brand-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-main);
        margin-bottom: 8px;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    .custom-radio table {
        width: auto !important;
        display: inline-block;
    }

    .custom-radio tr {
        display: flex; 
        gap: 20px; 
    }

    .custom-radio td {
        display: flex;
        align-items: center; 
        white-space: nowrap; 
    }

    .custom-radio label {
        margin-left: 6px; 
        margin-bottom: 0; 
        cursor: pointer;
        font-weight: 400 !important;
    }

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

    .btn-primary:hover {
        background: var(--primary-hover);
    }

.card-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .card-footer a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }
