﻿:root {
    --primary-color: #ed1c24;
    --input-background-color: #f1f1f1;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fcfcfc;
}

a, a:visited {
    color: var(--primary-color);
}

.container {
    display: flex;
    height: 100vh;
}

.image-container {
    flex: 1;
    background: url('../CRLCResources/877836493.jpg') center center no-repeat;
    background-size: cover;
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.login-inner-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
}

.mfa-container {
    flex: 1;
    display: block;
    font-weight: 400;
    font-size: 16px;
}

.mfa-inner-container {
    padding: 100px;
    box-sizing: border-box;
}

.logo {
    height: 60px;
    background: url('../CRLCResources/cr-logo.png') no-repeat;
    background-size: contain;
}

.header {
    font-size: 30px;
    color: var(--primary-color);
    display: flex;
    margin: 20px 0 30px;
    font-weight: 600;
}

.input-container {
    width: 100%;
    margin-bottom: 20px;
}

    .input-container input {
        width: 100%;
        padding: 12px;
        box-sizing: border-box;
        background-color: var(--input-background-color);
        color: #666;
        border: none;
        border-left: solid 6px var(--primary-color);
        font: 400 15px 'Poppins', Arial, sans-serif;
        border-radius: 3px;
    }

.submit-button {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

    .submit-button:hover {
        background-color: #e90634;
    }

.message {
    background-color: #fad4d1;
    padding: 15px;
    color: #666;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.button-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}
.mfa .modal-content {
    max-width: 850px;
    text-align: left;
}

.mfa .modal-content {
    max-width: 850px;
    text-align: left;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header, .modal-footer {
    padding: 10px 0;
}

.modal-header {
    font-size: 24px;
    font-weight: 600;
    color: #d32f2f;
}

.modal-body {
    font-size: 18px;
    margin: 20px 0;
    color: #39464e;
    font-size: 16px;
}

.modal-footer a {
    text-decoration: none;
    color: #d32f2f;
    font-weight: 500;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-container {
        display: none;
    }
}

.disabled-button {
    background-color: #ccc; /* Change the background color */
    color: #888; /* Change the text color */
    cursor: not-allowed; /* Change the cursor style */
    pointer-events: none;
}
