﻿/* General styles from ForgotPassword.cshtml (kept for consistency) */
@keyframes pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: .25;
        transform: scale(.75);
    }
}

.d-none {
    display: none !important;
}

/* Original button/input background colors (keep if still used elsewhere) */
.verify-otp, #get-otp, #verify, #submit {
    background-color: #003963;
}

.input-group-addon.verify-otp { /* This might become obsolete if input-group is fully removed for 2FA */
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

#resend {
    background-color: #d9d9d9;
}

#redirect {
    background-color: #003963;
    margin-top: 10px;
}

.domain li {
    display: inline-block;
}

.spinner-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.pulse-container {
    width: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pulse-bubble {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
}

.pulse-bubble-1 {
    animation: pulse .4s ease 0s infinite alternate;
}

.pulse-bubble-2 {
    animation: pulse .4s ease .2s infinite alternate;
}

.pulse-bubble-3 {
    animation: pulse .4s ease .4s infinite alternate;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #003963;
    z-index: 1000;
    padding: 0 15px;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    align-items: center;
}

.heading-title {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    overflow: hidden;
}

.sidebar-brand-icon {
    flex-shrink: 0;
}

    .sidebar-brand-icon img {
        height: 35px;
        width: auto;
        display: block;
    }

.h3 {
    margin: 0;
    flex-grow: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .h3 a {
        color: white;
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
    }

.sub_heading {
    color: orange;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    padding-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.panel-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.panel {
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
}

.panel-body {
    padding: 25px;
}

.text-center {
    text-align: center;
}

.lock-icon {
    height: 55px;
    width: 55px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* This rule might hide important elements, consider its impact */
/* .panel-body > div > *:not(img):not(h2):not(h4):not(p):not(form):not(br):not(a):not(.support_mail):not(.qr-code-wrapper) {
    display: none;
} */


.qr-code-wrapper {
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

    .qr-code-wrapper img {
        max-width: 250px;
        width: 100%;
        height: auto;
        display: block;
        border: 1px solid #eee;
        padding: 5px;
        box-sizing: border-box;
        margin: 0 auto;
    }

.form-group {
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #003963;
    border-color: #003963;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 4px;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: #002d4d;
        border-color: #002d4d;
    }

.login-page, .support_mail {
    margin-top: 15px;
    font-size: 13px;
}

.support_mail {
    text-align: left;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .h3 a {
        font-size: 13px;
    }

    .sub_heading {
        font-size: 11px;
    }
}

/* Styles for Validation Summary to remove dot and adjust spacing */
.text-danger ul {
    list-style: none; /* Removes the bullet point */
    padding-left: 0; /* Removes default padding for lists */
    margin-top: 0; /* Removes default top margin for lists */
    margin-bottom: 0; /* Removes default bottom margin for lists */
}

    .text-danger ul li {
        text-align: center; /* Center the individual error message */
        margin-bottom: 5px; /* Add a small margin below each error if there are multiple */
        font-size: 14px; /* Optional: Adjust font size if needed */
    }

.text-danger {
    text-align: center;
}

/* NEW STYLES FOR VERIFICATION CODE INPUTS */
.verification-code-container {
    display: flex; /* Arrange inputs in a row */
    justify-content: center; /* Center the inputs horizontally */
    gap: 10px; /* Space between each input box */
    margin-top: 20px; /* Space above the inputs */
    margin-bottom: 20px; /* Space below the inputs */
}

.code-input {
    width: 45px; /* Adjust as needed for desired box size */
    height: 45px; /* Make height equal to width for a square */
    text-align: center; /* Center the text inside the input */
    font-size: 24px; /* Adjust font size for visibility */
    border: 1px solid #ced4da; /* Light grey border matching Bootstrap defaults */
    border-radius: 8px; /* Rounded corners */
    outline: none; /* Removes the default focus outline */
    -moz-appearance: textfield; /* For Firefox to hide spinner buttons */
    /* Remove default Bootstrap form-control padding if applied */
    padding: 0;
}

    .code-input:focus {
        border-color: #003963; /* Darker blue border on focus */
        box-shadow: 0 0 0 0.2rem rgba(0, 57, 99, 0.25); /* Subtle shadow on focus */
    }

/* Hide arrow buttons for number inputs in WebKit browsers (Chrome, Safari) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.validation-summary-errors ul {
    list-style: none; /* remove default bullet */
    padding-left: 0;
    margin: 0;
}

.validation-summary-errors li::before {
    content: "* ";
    color: #dc3545; /* Bootstrap red */
    font-weight: bold;
}

.validation-summary-errors li {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.validation-summary-errors {
    margin-bottom: -2.5rem;
    margin-top: -1rem;
}