﻿:root {
    --primary-color: #2563eb;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 400px;
}

.brand-section h2 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

    .brand-section h2 span {
        color: var(--primary-color);
    }

.brand-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--text-main);
    }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-primary:hover {
        background: #1d4ed8;
    }

.error-msg {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
}
.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
}

    .card-footer span {
        color: var(--text-muted);
    }

    .card-footer a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        margin-left: 5px;
    }

        .card-footer a:hover {
            text-decoration: underline;
        }


/* Radio Button List Styling */
/*
.custom-radio {
    width: 100%;
    margin-top: 5px;
}

    .custom-radio label {
        font-weight: 400 !important;
        margin-right: 20px;
        cursor: pointer;
        color: var(--text-muted);
    }

    .custom-radio input[type="radio"] {
        accent-color: var(--primary-color);
        transform: scale(1.2);
        cursor: pointer;
    }
    */
.custom-radio table {
    width: auto !important; /* Prevents the table from stretching to 100% */
    display: inline-block;
}

.custom-radio tr {
    display: flex; /* Aligns the table cells horizontally */
    gap: 20px; /* Adds consistent space between User and Admin */
}

.custom-radio td {
    display: flex;
    align-items: center; /* Vertically centers the dot with the text */
    white-space: nowrap; /* Forces text to stay on one line */
}

.custom-radio label {
    margin-left: 6px; /* Space between the radio dot and the text */
    margin-bottom: 0; /* Removes any default bottom margin */
    cursor: pointer;
    font-weight: 400 !important;
}
/* Fix for Validator spacing */
span[style*="color:Red"] {
    display: block;
    margin-top: 4px;
    font-weight: 500;
}