﻿/* Small custom styles for the example */
:root {
    --brand-color: rgba(7, 86, 151, 1);
    --blue-color: rgba(7, 86, 151, 1);
    --bs-dropdown-font-size: 0.8rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--brand-text-color);
    background-color: rgba(255, 255, 255, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-bar {
    width: 100%;
    height: 11px;
    background-color: rgba(150, 150, 150, 1);
}

.main-content {
    padding: 48px;
    max-width: 1247px;
    margin: 0 auto;
}

.logo {
    height: 70.16px !important;
    width: 287px !important;
    object-fit: contain;
    margin-left: 0;
    padding-left: 0;
}

.hide {
    display: none !important;
}

.page-header {
    margin-bottom: 66px;
    text-align: left;
}

.black-text {
    color: #333333;
}

.required {
    color: red;
}

.error-block {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    border-radius: 0.375rem;
}

.success-block {
    background: #dff0d8;
    color: #155724;
    border: 1px solid #d6e9c6;
    border-radius: 0.375rem;
}

.site-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.logo-img {
    max-height: 56px;
    width: auto;
}

.form-card {
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
/* Ensure labels sit above inputs and spacing is consistent */
.form-label {
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 14px;
    font-weight: 500;
    color: rgb(0, 0, 0);
}
/* On small screens, stack subtitle under title with spacing */
.page-title {
    font-size: 40px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 22px;
    text-align: left;
}

.btn-primary {
    background-color: var(--brand-color);
    color: #ffffff !important;
    height: 35px;
    border: 1px solid var(--brand-color);
    border-radius: 21px;
    padding: 0px 31px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

    .btn-primary:hover {
        cursor: pointer;
        background-color: rgb(255, 255, 255) !important;
        color: var(--brand-color) !important;
        transform: translateY(-1px) !important;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px !important;
    }

.btn-secondary {
    background-color: grey;
    color: #ffffff !important;
    height: 35px;
    border: 1px solid var(--brand-color);
    border-radius: 21px;
    padding: 0px 31px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

    .btn-secondary:hover {
        cursor: pointer;
        background-color: rgb(255, 255, 255) !important;
        color: var(--brand-color) !important;
        transform: translateY(-1px) !important;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px !important;
    }

.ids-input-control {
    font-size: 0.8rem !important;    
    font-weight: 400;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    min-height: 35px;
    padding: 10px 1rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(151, 151, 151);
    border-image: initial;
    border-radius: 4px;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

    .ids-input-control:focus {
        border-color: #1e40af;
        box-shadow: 0 0 0 3px rgb(30 64 175 / 0.1);
    }

        .ids-input-control:focus:not(:focus-visible) {
            outline: none;
        }

    .ids-input-control:focus-visible {
        outline: 2px solid #1e40af;
        outline-offset: 2px;
    }

p.no-top-margin {
    margin-top: 0 !important;
}

a {
    text-decoration: none;
}

    a:hover {
        cursor: pointer;
        text-decoration: underline;
    }

    a.need-help {
        color: var(--brand-color);
        font-weight: 650 !important;
        font-size: 16px;
    }

        a.need-help:hover {
            cursor: pointer;
            text-decoration: underline;
        }

.nav-link {
    font-size: 0.9rem!important;
}

    .nav-link:hover, .nav-link:focus {
        text-decoration: none !important;
        cursor: pointer !important;
    }

.dropdown-item {
    font-size: 0.9rem!important;
}

    .dropdown-item:focus, .dropdown-item:hover {
        cursor: pointer !important;
        text-decoration: none !important;
    }

.text-area {
    max-height: 250px;
    overflow: scroll;
    padding: 1.5rem 1rem;
    background-color: #f2f2f2;
    box-shadow: inset 0 0 10px #000;
}

.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 1001 !important
}

.password-strength {
    list-style: none;
    padding-left: 0;
}

    .password-strength li::before {
        content: "✗ ";
        color: red;
        font-weight: bold;
    }

    .password-strength li.valid::before {
        content: "✓ ";
        color: green;
    }

    .password-strength li {
        color: red;
    }

        .password-strength li.valid {
            color: green;
        }

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
    padding-top: 0px;
    min-height: 25px;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.32px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    user-select: none;
    gap: 0.5rem;
}

.checkbox-input {
    width: 15px;
    height: 15px;
    border: 1px solid rgba(151, 151, 151, 1);
    border-radius: 4px;
    accent-color: #1e40af;
    cursor: pointer;
}

.checkbox-input-multiselect {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(151, 151, 151, 1);
    border-radius: 4px;
    accent-color: #1e40af;
    cursor: pointer;
}

.check-box {
    width: 20px;
    height: 20px;
    accent-color: rgb(30, 64, 175);
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(151, 151, 151);
    border-image: initial;
    border-radius: 4px;
}

.info-button {
    width: 14px;
    height: 14px;
    background-color: rgb(255, 255, 255);
    background-image: url('../imgs/shape@4x.png');
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-position: center center;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    transition: background-color 150ms ease-in-out;
}

    .info-button:hover {
        background-color: rgb(30, 64, 175);
        cursor: pointer;
        transition: background-color 150ms ease-in-out;
    }

a.login-create-account-link {
    font-size: 18px;
    font-weight: 500;
    transition: color 150ms ease-in-out;
    color: var(--blue-color);
}

.login-form {
    gap: 18px;
}

.input-readonly {
    background-color: #e9ecef;
}

.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 1001 !important
}

#textarea_textlength {
    float: right;
    margin-right: 10px;
    font-size: 14px;
}

.modal-content {
    padding: 30px 30px;
}

.form-check-input:checked {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

.form-select {
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'> <polyline points='6 9 12 15 18 9'/> </svg>") no-repeat right 0.75rem center;
    background-size: 1rem;
}

#overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-footer {
    justify-content: flex-start !important;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2.25rem;
    color: rgba(95, 99, 104, 1);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 100%;
    transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .modal-close:hover {
        color: #000000;
        background-color: #f3f4f6;
    }

.input-validation-error {
    border-color: #dc2626;
}

.user-support {
    flex: 0 0 200px;
    padding: 1rem;
    margin-top: 4px;
    height: fit-content;
    max-width: 470px;
}

.support-title {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(151, 151, 151, 1);
    padding-bottom: 2px;
}

.phone-number {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.phone-icon {
    width: 14px;
    height: 14px;
    /*background-image: url(~/imgs/PhoneIcon@4x.png);*/
    background-image: url('../imgs/phoneicon@4x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.bg-dark {
    background-color: var(--brand-color)!important;
}

.mt-5 {
    margin-top: 5rem !important;
}

.form-control {
    font-size: 0.8rem!important;
}

.userActionBtn {
    height: 25px !important;
    padding: 1px 20px !important;
    font-size: 13px !important;
}

.ids-input-control-sm {
    font-size: 0.8rem !important;
    font-weight: 400;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    min-height: 30px;
    padding: 4px 1rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(151, 151, 151);
    border-image: initial;
    border-radius: 4px;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

    .ids-input-control-sm:focus-visible {
        outline: 2px solid #1e40af;
        outline-offset: 2px;
    }

    .ids-input-control-sm:focus {
        border-color: #1e40af;
        box-shadow: 0 0 0 3px rgb(30 64 175 / 0.1);
    }

.multiselect-container > li > a > label {
    margin: 0;
    height: 100%;
    cursor: pointer;
    font-weight: 400;
    padding: 3px 20px 3px 20px !important;
}

/* Set a consistent label width for desktop screens */
.input-group-text {
    min-width: 180px; /* consistent alignment */
    justify-content: center; /* center text inside */
    white-space: nowrap; /* prevent text wrapping */
    font-size: 0.8rem!important;
}

/* Medium devices (tablets, ≤992px) */
@media (max-width: 992px) {
    .input-group-text {
        min-width: 160px;
    }
}

/* Small devices (phones, ≤576px) */
@media (max-width: 576px) {
    .input-group-text {
        min-width: 140px; /* shrink further for small screens */
        font-size: 0.7rem; /* optional: slightly smaller text */
    }
}