.login-register-container {
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
    align-items: center;
    max-width: 800px;
    margin-inline: auto;
}

.login-register-nav {
    max-width: 100%;
    min-width: 100%;
}

.login-register-nav-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    user-select: none;
    text-decoration: underline;
}

.login-nav-container, .register-nav-container {
    cursor: pointer;
    width: 50%;
    margin: 6px;
    padding: 6px;
    position: relative;
}


.login-nav-container.active, .register-nav-container.active {
    font-weight: bold;
}

.login-nav-container.active::after, .register-nav-container.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-red-logo);
    display: block;
    margin-top: 2px;
    margin-inline: auto;
    border-radius: 1px;
}

.login-register-combined {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #111;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
}

.register-container {
    width: 100%;
    display: none;
}

.login-container { 
    width: 100%;
    display: none;
}



.register-container.active-form, .login-container.active-form {
    display: block;
}

.form-control {
    padding: .75rem .75rem;
    font-weight: 500;
    opacity: 0.8;
    border: 1px solid #211d19;
}

.btn-gray {
    background: #bdbdbd;
    color: #000;
    border: 0px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;

    height: 48px;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: all 0.3s ease;
}

.swal2-confirm.swal2-styled {
    background: #bdbdbd;
    color: #000;
    border: 0px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;

    height: 48px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: all 0.3s ease;
}

.login-register-submit-btn:disabled {
    /* --gradient-angle: 45deg;
    background: linear-gradient(var(--gradient-angle), #f3f3f3, #f3f3f3); */
    background: #f3f3f3;
    color: #838bb2;
    border: 0px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    transition: all 0.3s ease;
}

.login-register-submit-btn {
    /* --gradient-angle: 45deg;
    background: linear-gradient(var(--gradient-angle), #ededed, #bdbdbd); */
    background: var(--color-red-logo);
    color: #fff;
    border: 0px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-register-submit-btn.clicked {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 3px 7px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.password-input-container {
    position: relative;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    transition: background-color 0s 600000s, color 0s 600000s, box-shadow 0s 0s!important;
}
.password-input-container::after {
    content: "Minimum 8 characters: 1 uppercase, 1 lowercase, 1 number or symbol.";
    display: block; /* <-- Make it a block element to occupy space */
    /* Optional: Adjust styling for appearance */
    margin-top: 5px; /* Add some space between the input/content and the text */
    margin-left: 12px; /* Restore the left alignment */
    margin-right: 12px; /* Optional: add margin-right to control text width if needed */
    width: calc(100% - 24px); /* Example: If parent has padding, or to prevent overflow */
    font-size: 10px;
    opacity: 0.6;
    text-align: left;
}

.swal2-title {
    font-size: 1.5rem;
}

.swal2-html-container {
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: none;
}

.invalid-feedback {
    text-align: left;
    margin-left: 12px;
}

.invalid-login {
    color: red;
    font-size: 0.9rem;

}

.password-reset-request-link {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    text-align: left;
    opacity: 0.8;
    margin-left: 12px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale3d(1, 1, 1);
    opacity: 1;
    pointer-events: all;
    transition: all 0.3s ease;
}

.modal-content {
    background: #111;
    padding: 2em;
    border-radius: 8px;
    width: 400px;
    max-width: 80vw;
    transform: scale3d(1, 1, 1);
    opacity: 1;
    transition: all 0.3s ease;
}

.modal.hidden .modal-content {
    transform: scale3d(0,0,0);
    opacity: 0;
    pointer-events: none;
}

.close {
    cursor: pointer;
}


.hidden {
    opacity: 0;
    pointer-events: none;
}
.swal2-icon.swal2-success {
  border-color: var(--color-red-logo) !important; /* circle border */
  color: var(--color-red-logo) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: var(--color-red-logo) !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: var(--color-red-logo) !important;
}
.swal2-title {
  color: black !important;
}
.swal2-timer-progress-bar {
  background-color: var(--color-red-logo) !important;
}
@media (max-width: 768px) {
    .login-register-container {
        min-height: 100vh;
        justify-content: flex-start;
    }
    .login-container, .register-container {
        padding: 0;
        min-width: 0;
        width: 100%;
    }
}
