/* ==========================================================================
   Account Pages - Common Styles
   Shared styles for: Login, ForgotPassword, ResetPassword, Profile,
   CheckYourInbox, CheckYourInboxPassword, ConfirmYourEmail
   ========================================================================== */

/* ==========================================================================
   Base Layout
   ========================================================================== */
body.account-page,
body.account-page html {
    overflow: hidden;
    height: 100vh;
}

body.account-page .footer {
    display: none;
}

/* ==========================================================================
   Top Header
   ========================================================================== */
#top-header {
    background-color: #2D3742;
    width: 100%;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#top-header img {
    margin: 10px 0 0 27px;
}

/* ==========================================================================
   Page Titles
   ========================================================================== */
.account-title {
    text-align: center;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 20px;
    margin-top: 32px;
    color: #2D3742;
}

/* ==========================================================================
   Info Text
   ========================================================================== */
.account-info-text {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #2D3742;
}

.account-info-text a {
    text-decoration: underline;
    color: #2D3742;
}

/* ==========================================================================
   Form Labels
   ========================================================================== */
.labels-for-inputs {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #5E5E5E;
    float: left;
    margin-bottom: 12px;
}

/* ==========================================================================
   Form Inputs
   ========================================================================== */
.account-input {
    width: 324px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #C5C4C4;
    border-radius: 3px;
}

.account-input:focus {
    border: 1px solid #5E5E5E;
}

.account-input-readonly {
    width: 324px;
    height: 40px;
    background: #F7F7F7;
    border-radius: 3px;
}

/* ==========================================================================
   Password Toggle
   ========================================================================== */
.password-input-wrapper {
    position: relative;
    display: block;
    width: 324px;
}

.password-toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 16px;
    height: 16px;
    z-index: 10;
}

/* ==========================================================================
   Primary Action Button
   ========================================================================== */
.btn-account-primary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
    width: 324px;
    height: 40px;
    background: #00AAD5;
    mix-blend-mode: normal;
    border-radius: 3px;
    margin: 32px 0 28px 0;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-account-primary:hover {
    background: #0099C0;
}

.btn-account-primary:disabled {
    background: #F0F0F0;
    color: #A1A1A1;
    cursor: not-allowed;
}

/* ==========================================================================
   Link Button (underlined text button)
   ========================================================================== */
.btn-link-style {
    background: none;
    border: none;
    color: #2D3742;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    padding: 0;
}

.btn-link-style:hover {
    color: #1a2530;
}

/* ==========================================================================
   Field-level Validation Error Styling
   ========================================================================== */
.field-validation-error {
    display: block;
    color: #E60667;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    margin-top: 6px;
    position: relative;
    text-align: left;
}

/* Only show exclamation mark and padding when error has content */
.field-validation-error:not(:empty) {
    padding-left: 26px;
}

.field-validation-error:not(:empty)::before {
    content: "!";
    position: absolute;
    left: 0;
    top: -1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #E60667;
    color: #E60667;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
}

/* Input with validation error - red border */
.input-validation-error {
    border: 1px solid #E60667 !important;
}

/* ==========================================================================
   Error Message Box (pink box with icon)
   ========================================================================== */
.error-message-box {
    color: #990C49;
    background-color: #FEE8EE;
    border: 1px solid #FAD3DE;
    border-radius: 4px;
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4em;
    text-align: left;
    padding: 10px 10px 10px 40px;
    position: relative;
    max-width: 324px;
    margin-left: auto;
    margin-right: auto;
}

.error-message-box::before {
    content: "!";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #990C49;
    color: #990C49;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
}

.error-message-box strong {
    color: #990C49;
}

.error-message-box a {
    color: #990C49;
    text-decoration: underline;
}

/* ==========================================================================
   User Email Highlight
   ========================================================================== */
.user-email {
    font-weight: 700;
    color: #2D3742;
}

/* ==========================================================================
   Hide mt-alert (using _ValidationSummary selective display)
   ========================================================================== */
.mt-alert-hidden {
    display: none;
}

/* ==========================================================================
   Card Styling
   ========================================================================== */
.card {
    box-shadow: none;
}

