.modal-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 18px;
    color: #000;
    margin: 0;
}

.modal-body {
    padding: 20px;
}

/* Form elements */
#EnterEmailForm {
    width: 100%;
}

.form-group {
    margin-bottom: 15px !important;
}

/* Hide all steps by default */
.reset-step {
    display: none;
}

/* Show active step */
.reset-step.active {
    display: flow-root;
}

.modal-custom {
    border-radius: 6px;
}

.modal-subtitle {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.form-actions {
    margin-top: 15px;
    text-align: right;
}

.err {
    display: block;
    font-size: 12px;
    color: red;
    margin-top: 4px;
}

.err-msgs {
    margin-top: 10px;
    color: red;
    font-size: 13px;
}

.success-msgs {
    margin-top: 10px;
    color: green;
    font-size: 13px;
}

.loginButtonDiv {
    align-items: center;
    display: flex;
    justify-content: center;
}

@supports (top: max(0%)) {
    .mdc-text-field--outlined {
        padding-left: max(4px, calc(var(--mdc-shape-small, 4px) + 4px));
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0.9;
}

/* Styles for the loading spinner animation */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ff982e;
    /* Change the color as needed */
    border-radius: 50%;
    width: 55px;
    height: 55px;
    animation: spin 1s linear infinite;
    margin: 6px;
}


.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}


.static-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: none !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Container for icon + input */
.input-icon {
    position: relative;
}

.input-icon .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
    pointer-events: none;
    z-index: 11;
    display: flex;
}

.input-icon .form-control {
    padding-left: 40px;
    /* space for icon */
    height: 45px;
    font-size: 15px;
    border-radius: 6px;
}

.error-text {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 4px;
    display: block;
}

/* Alert box styles */
.alert {
    padding: 10px;
    margin-top: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loginButton {
    background-color: #7abce7 !important;
    color: white !important;
    font-size: 13px !important;
}

.LoginDiv {
    display: flex;
    position: relative;
    justify-content: center;
}

.loginButton .material-symbols-outlined {
    font-size: 18px;
}

.ResetDiv {
    display: flex;
    position: relative;
    justify-content: end;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #333;
}

#login-container .login-title {
    background: rgb(0 0 0);
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
  vertical-align: text-bottom;
  margin-right: 5px;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
