﻿#AccountContainer {
    display: flex;
    align-items: center;
    width: 500px;
    height: 100%;
    margin: 0 auto;
}

.page-content {
    background: url(../../Content/site/images/account_ft_bg.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
}

.account_nav_container {
    position: fixed;
    top: 0;
    left: 0;
    height: 57px;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    width: 100%;
}

.account_nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 57px;
    padding: 0 24px;
}

.account_panel {
    width: 500px;
    padding: 20px 45px 45px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(134deg, #092f42 0%, #0d384d 40.09%, #1a5978 100%);
}

    .account_panel h5 {
        font-size: 32px;
        font-weight: 600;
        line-height: 61px;
        color: #ffffff;
        text-transform: unset;
    }

    .account_panel form {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 25px;
    }

        .account_panel form .base-input {
            border-radius: 88px;
            background: #fff;
            box-shadow: 0 4px 84px 0 rgba(0, 0, 0, .07);
            color: #787878;
            font-size: 16px;
            line-height: 27px;
            border: none;
            padding: 0 30px;
            min-height: 50px;
            flex: 1;
        }

        .account_panel form .base-btn {
            padding: 0 24px;
            align-items: center;
            border-radius: 88px;
            background: #EA2A49;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            border: none;
            height: 48px;
        }

    .account_panel .elem_panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size:14px;
    }

    .account_panel .account_link {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #ffffff;
    }

    .account_panel .account_validation_panel, label.error {
        margin: -25px 0;
        height: 25px;
        position: relative;
        color: #EA2A49;
        text-transform: uppercase;
        flex-direction: column;
        display: flex;
    }

    .account_panel .company-logo {
        margin-top:20px;
    }

    .account_panel .company-logo > img {
        width: auto;
        height: 92px;
    }

    .account_panel #password-validation > input {
        width: 100%;
    }

    .has-error {
        border: 2px solid red !important
    }

.g-recaptcha > div{
    width:100% !important;
    height:78px;
}

::-webkit-input-placeholder {
    text-transform: unset !important;
}


/*New Design of form panel*/

/* Center panel on page */
.auth-outer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top:65px;
}

.auth-card {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-bg-opacity: 1;
    background-color: rgb(15 60 85 / var(--tw-bg-opacity, 1));
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    color: white;
}

.auth-title {
    text-align: center;
    color: #FFF;
    font-weight: 700;
    font-size: 28px;
    line-height: 2.25rem;
    margin: 5px 0 12px 0;
    text-transform:none;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    --tw-text-opacity: 1;
    color: rgb(203 213 225 / var(--tw-text-opacity, 1));
    margin-bottom: 42px;
}

/* Inputs & Height */
.auth-outer-wrapper ::-webkit-input-placeholder {
    --tw-placeholder-opacity: 1;
    color: rgb(148 163 184 / var(--tw-placeholder-opacity, 1));
    font-size: 12.5px;
}

.auth-input-group {
    margin-bottom: 22px;
}

.auth-label {
    display: block;
    font-weight: 600;
    letter-spacing: 0.07em;
    font-size: 12px;
    line-height: 1rem;
    margin-left: 0.25rem;
    margin-bottom: 10px;
    --tw-text-opacity: 1;
    color: rgb(203 213 225 / var(--tw-text-opacity, 1));
    text-transform:uppercase;
}


.auth-input-wrapper {
    display: flex;
    align-items: center;
    --tw-bg-opacity: 1;
    background-color: #264f66;
    border-radius: 30px;
    height: 46px;
    padding: 0 18px;
    outline: 1px solid #475569;
}

.auth-input-wrapper:focus-within {
    outline: 2px solid #ef4444;
}

.auth-input-wrapper input {
    box-shadow: unset !important;
}

.auth-field {
    background: transparent;
    border: none !important;
    outline: none !important;
    color: #ffffff;
    padding: 0 12px !important;
    width: 100%;
    height: 100%;
    font-size: 14px;
}

/* Icons */
.auth-icon {
    --tw-placeholder-opacity: 1;
    color: rgb(148 163 184 / var(--tw-placeholder-opacity, 1));
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.auth-icon-end {
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}

/* Phone Layout */
.auth-phone-row {
    display: flex;
    gap: 12px;
}

.auth-country-code {
    flex: 0 0 140px;
}

.auth-phone-input {
    flex: 1;
}

.auth-select {
    cursor: pointer;
}

/* Button & Links */
.auth-submit-btn {
    width: 100%;
    background-color: #ef4444;
    color: white;
    height: 50px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
}

    .auth-submit-btn:hover {
        --tw-bg-opacity: 1;
        background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
    }

    .auth-checkbox-label a {
        color: #ef4444;
    }

.auth-checkbox-label a:hover {
    text-decoration: underline;
}

.auth-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Hide the actual checkbox */
.auth-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The custom box (Regular State) */
.auth-checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
}

    .auth-checkbox-label:hover{
        color: #fff;
    }

    .auth-checkbox-label:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 20px;
        width: 20px;
        background-color: transparent;
        border: 2px solid #475569; /* Image 1: Slate blue border */
        border-radius: 6px;
        transition: all 0.2s ease;
    }

/* Focused State (Image 2) */
.auth-checkbox:focus + .auth-checkbox-label:before {
    box-shadow: 0 0 0 3px #ff4d4d; /* Bright red outer ring */
    border-color: #475569;
}

/* Checked State (Image 3) */
.auth-checkbox:checked + .auth-checkbox-label:before {
    background-color: #ff4d4d; /* Solid red fill */
    border-color: #ff4d4d;
    box-shadow: none;
}

/* The White Checkmark (appears when checked) */
.auth-checkbox-label:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-checkbox:checked + .auth-checkbox-label:after {
    display: block;
}

.auth-footer {
    text-align: center;
    margin-top: 36px;
}

.auth-divider {
    border-bottom: 1px solid #3d5a6d;
    line-height: 0.1em;
    margin: 24px 0;
    text-align: center;
}

    .auth-divider span {
        background: #0f3c55;
        padding: 0 12px;
        font-size: 12px;
        color: #94a3b8;
    }

.auth-link-secondary {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.auth-link-secondary:hover{
    color:#ef4444;
}

    /* Reset button styles to look like a link */
    .auth-btn-link {
        background: none;
        border: none;
        padding: 0;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px; /* Space between text and arrow icon */
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .auth-btn-link:hover {
        opacity: 0.8;
    }

        /* Optional: Slight animation for the arrow on hover */
        .auth-btn-link:hover i {
            transform: translateX(3px);
            transition: transform 0.2s ease;
        }

    /* Ensure the icon alignment inside the button matches the 50px theme */
    .auth-btn-link i {
        font-size: 13px;
    }

.auth-card label.error {
    width: 100%;
    font-size: 10px;
    top: 73px;
    position: absolute;
    left: 18px;
}

/* Search able phone code*/

.auth-outer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-field {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    padding: 0 10px;
}

.auth-phone-row {
    display: flex;
    gap: 10px;
    position: relative;
}

.flex-1 {
    flex: 1;
}

/* Custom Drop down Styling */

/* Custom Scrollbar for the Country List */
#country-list::-webkit-scrollbar {
    width: 6px; /* Slimmer, more modern width */
}

#country-list::-webkit-scrollbar-track {
    background: #1a2e3b; /* Darker than the menu background */
    border-radius: 10px;
}

#country-list::-webkit-scrollbar-thumb {
    background: #ef4444; /* Match your red/coral button color */
    border-radius: 10px;
}

    #country-list::-webkit-scrollbar-thumb:hover {
        background: #ff6b6b; /* Slightly lighter on hover */
    }

/* For Firefox support */
#country-list {
    scrollbar-width: thin;
    scrollbar-color: #ef4444 #1a2e3b;
}

.custom-select-container {
    position: relative;
    width: 130px;
}

.auth-input-wrapper .select-trigger {
    cursor: pointer;
    justify-content: space-between;
    font-size: 14px;
}

.custom-dropdown-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 250px;
    --tw-bg-opacity: 1;
    background-color: rgb(15 60 85 / var(--tw-bg-opacity, 1));
    border-radius: 12px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 100;
    overflow: hidden;
}

    .custom-dropdown-menu.active {
        display: block;
    }

.auth-search-box-wrapper {
    padding: 10px;
    border-bottom: 1px solid #3d5a6d;
}

    .auth-search-box-wrapper input {
        width: 100%;
        background: #264f66;
        border: 1px solid #475569;
        border-radius: 15px;
        padding: 8px;
        color: white;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

        .auth-search-box-wrapper input:focus {
            outline: 2px solid #ef4444;
        }

        #country-list {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 200px;
            overflow-y: auto;
        }

    #country-list li {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-size: 14px;
    }

        #country-list li:hover {
            background: #ef4444;
        }

/* Footer Link Button */
        .auth-btn-link {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

a.no-hover:hover,
a.no-hover:focus {
    color: inherit;
    background: transparent;
    text-decoration: none;
}

/* Password visibility toggle for account_panel */
.password-field-wrapper {
    position: relative;
    display: flex;
}

.password-field-wrapper .password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #787878;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}

.password-field-wrapper .base-input {
    padding-right: 50px !important; /* Make room for the icon */
}