﻿/* New Design Style */

.auth-page-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    inset: 0;
    z-index: 0;
}

.auth-page-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    inset: 0;
    z-index: 0;
}

.auth-page-background-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.auth-page-background-carousel img {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    inset: 0;
    z-index: 0;
    opacity: 0;
    animation-fill-mode: both;
}

@keyframes carouselFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.auth-header-bar {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.15);
    padding: 12px 20px;
}

.auth-header-bar .left {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    /*    background: rgba(0,0,0,0.4);
padding: 6px 14px;
border-radius: 6px;
backdrop-filter: blur(4px);*/
}

        /*.auth-header-bar .right {
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border-radius: 6px;
    backdrop-filter: blur(4px);

}*/

.auth-header-bar .left .logo {
    height: 52px;
    margin-top: -4px;
}

.logo-backing {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
}

.auth-header-bar .left .logo {
    height: 52px;
    margin-top: -4px;
}


.auth-header-bar .page-title {
    color: white;
    font-size: 33px;
    font-weight: 300;
}

.auth-inline-form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    white-space: nowrap;
}

.auth-inline-form .icon-field {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-inline-form .icon-field i.icon {
    position: absolute !important;
    left: 9px;
    top: 55%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #808080;
    pointer-events: none;
}

.auth-inline-form .icon-input {
    text-indent: 23px !important;
}

.auth-inline-form .icon-field i.icon {
    z-index: 3 !important;
}

.auth-inline-form .form-group {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.auth-inline-form input.form-control {
    width: 240px;
}

.auth-inline-form .password-wrapper .form-group {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.auth-inline-form input.form-control {
    font-size: 14px;
    padding: 4px 8px !important;
}

.auth-inline-form a {
    font-size: 12px;
    white-space: nowrap;
}

.auth-inline-form .btn,
.auth-inline-form button {
    height: 32px;
    padding: 4px 12px;
    font-size: 13px;
}

.footer-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-label {
    font-size: 12px;
    color: #fff;
}


.password-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
}

.forgot-link-input {
    margin-top: 2px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.forgot-link-input:hover {
    text-decoration: underline;
    color: #fff !important;
}

.forgot-link-input:hover,
.forgot-link-input:focus,
.forgot-link-input:active,
.forgot-link-input:visited {
    color: #fff;
}

.inline-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    white-space: nowrap;
}

.inline-footer span {
    color: #fff;
    font-size: 12px;
}

.auth-inline-form .btn,
.auth-inline-form button {
    height: 40px !important;
    padding: 0 20px !important;
    display: flex;
    align-items: center;
}

#forgotPasswordModal .modal-dialog {
    margin-top: 90px !important;
}

.auth-inline-controls .auth-page-title {
    color: white;
}

.auth-inline-controls .login-box-msg {
    color: #ddd;
}

.confirmation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.confirmation-card h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 10px;
}

.confirmation-card p {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 25px;
}

.confirmation-card .btn-primary {
    width: 50%;
    height: 40px !important;
    padding: 0 20px !important;
    justify-self: center;
    justify-content: center;
}

.inline-field {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.icon-field {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-field i.icon {
    position: absolute !important;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #808080;
    pointer-events: none;
    z-index: 3;
}

.field-error {
    font-size: 12px;
    margin-top: 2px;
    color: var(--color-red) !important;
    white-space: nowrap;
    min-height: 14px;
}

.password-wrapper .field-error:empty {
    margin-bottom: -4px;
}

.password-wrapper .field-error:not(:empty) {
    margin-bottom: 8px;
}

/* New Design Style */


/* Original Design Style */

/* AUTH PAGES */
.auth-page-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #1c575d;

    .auth-page-content {
    position: relative;
    width: 480px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    padding: 32px;
    z-index: 1;

    .auth-page-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .left, .right {
    width: min-content;
}

.logo {
    width: 120px;
}

}

.auth-main-content {
    height: max-content;

    .auth-page-title {
    font-size: 36px;
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    position: relative;
    border-radius: 6px;
    --text-indent: 4em;

    .icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #808080;
}

label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: var(--text-indent);
    display: none;
}

&:focus-within {
    box-shadow: 0 0 0 0 #fff, 0 0 4px 2px color-mix(in oklab, #fff 50%, var(--prompt-colors-accent-1));
    .icon

{
    color: var(--prompt-colors-accent-1) !important;
}

}


input.form-control {
    height: 45px;
    width: 100%;
    border-radius: 8px;
    text-indent: var(--text-indent);
    padding-left: 0;
}

}



.btn-forgot-password {
    color: #808080;
    font-size: 12px;
    padding: 4px;
    border-radius: 4px;
    &:hover

{
    background-color: var(--button-bg-hover);
}

}

.btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    height: 45px;
    padding: 8px 16px;
    margin-top: 32px;
}

}

.auth-page-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 8px;
    .btn

{
    padding: 8px;
    width: max-content;
}

}
}

.auth-page-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    inset: 0;
    z-index: 0;
}
}

/* Original Design Style */