/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.form-control:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-link.nav-link:focus {
    outline: black auto 1px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: scroll;
    white-space: nowrap;
    line-height: 60px;
}

body {
    background-image: url('../images/clients/Octant_bg.jpg');
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.customCard {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    width: 480px;
    background: #ffffff;
    padding: 40px;
}

.scrollBar {
    overflow-y: auto;
    max-height: 75vh;
    padding-right: 34px;
    margin-right: -34px;
    overflow-x: hidden;
}

.scrollBar::-webkit-scrollbar-button {
    display: none
}

.scrollBar::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
    border: 4px solid #f4f4f4
}

.scrollBar::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 5px solid #fff
}

.scrollBar::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4
}

.scrollBar::-webkit-scrollbar-track {
    background-color: #fff
}

.scrollBar::-webkit-scrollbar {
    background-color: #fff;
    width: 16px
}

.headerLogin {
    background-image: url('../images/logo/icon_name.svg');
    background-repeat: no-repeat;
    width: 953px;
    height: 256px;
    scale: 0.15;
    z-index: 100000000;
    display: block;
    position: fixed;
    top: 40px;
    left: 40px;
    transform-origin: top left;
}

.text-input {
    padding: 5px 5px 5px 0;
    border-radius: 6px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.text-input__content {
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    overflow: visible; /* Allow tooltips to show outside */
}

.text-input__label {
    max-width: calc(50% - 0px);
    font-size: 13px;
    line-height: 18px;
    padding: 0 4px 0 8px;
    font-weight: 600;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 36px;
}

.text-input__control {
    font-size: 13px;
    line-height: 18px;
    padding: 5px 8px;
    font-weight: 400;
    box-sizing: border-box;
    display: inline-block;
    flex-grow: 1;
    vertical-align: top;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    height: 36px;
}

.text-input__control:focus,
.text-input__control:focus-visible {
    border: none;
    outline: none;
}

.input__focus {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.text-input__additional-content {
    -webkit-padding-end: 3px;
    padding-inline-end: 3px;
    height: 36px;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
}

.password-button {
    border-radius: 8px;
    width: 36px;
    background-color: inherit;
    border: none;
    height: 90%;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.password-button:active {
    background: inherit;
    border: none;
    outline: none;
}

.password-button:hover {
    background-color: #F2F2F2;
}

.customCheckBox:checked[type=checkbox] {
    border-color: rgba(255, 190, 92, 1) !important;
    background-color: rgba(255, 190, 92, 1) !important;
}

.customRedirect {
    display: flex;
    align-items: center;
    min-width: 40%;
}

.submitCustomColumn {
    display: flex;
    justify-content: end;
}

.submitBtn {
    background-color: rgba(255, 190, 92, 1) !important;
    border: none !important;
    color: #000 !important;
    padding: 9px, 16px, 9px, 16px;
    height: 36px;
    font-size: 13px !important;
    line-height: 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 400 !important;
}

.redirect {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.85);
    font-size: 13px;
}

.title {
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 35px;
}

.customForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.text-danger {
    color: aqua;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: none;
    -webkit-text-fill-color: inherit;
    -webkit-box-shadow: none;
    transition: none;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.customRow {
    z-index: 9999;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.labelCheckbox {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
}

.redirectTo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inlineRedirect {
    color: rgba(255, 190, 92, 1);
    text-decoration: none;
    cursor: pointer;
}

.subtitle {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    margin-top: -26px;
    margin-bottom: 35px;
}

.redirectToLayout {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.redirectToLayout>a {
    color: #fff;
}

.fa-eye-slash::before {
    content: url('../images/icons/eye-slash.svg');
}

.fa-eye::before {
    content: url('../images/icons/eye.svg');
}

.orgContainer {
    display: flex;
    background: #fff;
    width: 240px;
    height: 306px;
    border-radius: 16px;
    padding: 32px;
    cursor: pointer;
    flex-direction: column;
    outline: none;
    border: none;
}

.--newOrg {
    background-color: rgba(255, 190, 92, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.withoutLink {
    cursor: default;
}

.orgName {
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.85);
}

.orgType {
    font-size: 13px;
    line-height: 17px;
    color: rgba(0, 0, 0, 0.5);
}

.orgPage {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding: 50px;
}

.orgPage>a {
    text-decoration: none;
}

.contentMain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 50px;
    z-index: 999999;
    position: relative;
}

.overContent {
    justify-content: center;
}

.overContentRedirect {
    color: #fff;
}

.subHeader {
    color: rgba(0, 0, 0, 0.5);
    font-size: 13px;
    margin-bottom: 10px;
    margin-top: -24px;
}

.subHeaderLogout {
    position: absolute;
    right: 30px;
    top: 40px;
    z-index: 99999999;
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: center;
}

.g-user,
.g-user__avatar {
    display: flex;
    align-items: center;
}

.g-user__avatar {
    display: flex;
    align-items: center;
}

.g-avatar_theme_brand.g-avatar_view_filled {
    background-color: rgb(255, 190, 92);
    color: rgba(0, 0, 0, .9);
}

.g-avatar__text {
    color: rgba(0, 0, 0, .9);
    font-size: 9px;
    line-height: 12px;
    font-weight: 400;
}

.g-user__avatar+.g-user__info {
    margin-inline-start: 12px;
}

.g-user__info {
    flex: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.g-user__info .g-user__name {
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.g-avatar {
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgb(255, 190, 92);
}

.logoutBtn {
    height: 36px;
    width: 36px;
    background: transparent !important;
    border: none !important;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
}

.logoutBtn svg {
    width: 20px;
    height: 20px;
    color: #fff !important;
}

.logoutBtn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.logoutBtn:active {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Validation tooltip styles */
.validation-tooltip,
.field-validation-error,
.passerror.field-validation-error {
    font-size: 12px !important;
    position: absolute !important;
    background-color: #f8d7da !important; /* Light pink background like model errors */
    color: #721c24 !important; /* Dark red text */
    border: 1px solid #f5c6cb !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2) !important;
    top: calc(100% + 8px) !important;
    left: 10px !important;
    display: block !important;
    width: calc(100% - 20px) !important; /* Match input width minus left offset */
    max-width: calc(100% - 20px) !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    line-height: 1.4 !important;
    cursor: pointer !important; /* Show it's clickable */
    box-sizing: border-box !important;
}

/* Hover effect for clickable tooltips */
.validation-tooltip:hover,
.field-validation-error:hover,
.passerror.field-validation-error:hover {
    background-color: #f1b0b7 !important;
    border-color: #efaab2 !important;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.25) !important;
}

/* Hide valid/empty validation messages */
.field-validation-valid,
.passerror:empty {
    display: none !important;
}

/* Tooltip arrow */
.validation-tooltip::before,
.field-validation-error::before,
.passerror.field-validation-error::before {
    content: '' !important;
    position: absolute !important;
    top: -6px !important;
    left: 15px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: 6px solid #f8d7da !important; /* Match light pink background */
}

/* Tooltip arrow border for depth effect */
.validation-tooltip::after,
.field-validation-error::after,
.passerror.field-validation-error::after {
    content: '' !important;
    position: absolute !important;
    top: -7px !important;
    left: 15px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: 6px solid #f5c6cb !important; /* Border color for outline */
    z-index: -1 !important;
}

.text-input {
    position: relative;
}

/* Highlight invalid input fields */
.input-validation-error {
    border-color: #dc3545 !important;
}

/* Model validation summary */
.validation-summary-errors {
    font-size: 12px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 6px;
    margin: 0;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.validation-summary-errors ul li {
    margin: 2px 0;
}
