/* FRAMEWORK */
@import "vendor/bootstrap-5.3.0/bootstrap.min.css";

/* ADDITIONAL LIBRARIES */
@import "vendor/pace-1.2.4/minimal.css";
@import "vendor/pretty-checkbox-3.0/pretty-checkbox.min.css";

/* ICONOGRAPHY */
@import "vendor/bootstrap-icons-1.11.1/bootstrap-icons.min.css";
@import "vendor/fontawesome-6.2.1/css/all.min.css";
@import "vendor/lineicons-3.0/icon-font/lineicons.css";

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,500,700');
@import url('https://fonts.googleapis.com/css2?family=El+Messiri&family=Montserrat&display=swap');

/* OVERRIDES */
@import "overrides/bootstrap.css";

/* COMPONENTS */
@import "components/forms.css";
@import "components/modals.css";
@import "components/utilities.css";

:root {
    --zf-accent: #4d8ed9; /* Base accent color */
    --zf-accent-dark: #2e62b5; /* Must be monochromatic hue (darker) */
    --zf-accent-light: #7ea8e7; /* Must be monochromatic hue (lighter) */
    --zf-accent-foreground: var(--bs-white); /* Text color over accent background (black or white) */
    --zf-form-background: #F2F4F5; /* Default color for form inputs background */

    --zf-filter-background: linear-gradient(to right, #00B4DB, #514A9D);
    --zf-filter-opacity: 0.55;
    --zf-filter-dotgrid-size: 8px;
    --zf-filter-dotgrid-opacity: 0.25;

    --zf-logo-height: auto;
    --zf-logo-width: 100%;
}

.btn-primary {
    --bs-btn-color: var(--zf-accent-foreground);
    --bs-btn-bg: var(--zf-accent);
    --bs-btn-border-color: var(--zf-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--zf-accent-dark);
    --bs-btn-hover-border-color: var(--zf-accent-dark);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--zf-accent-dark);
    --bs-btn-active-border-color: var(--zf-accent-dark);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--zf-accent);
    --bs-btn-disabled-border-color: var(--zf-accent);
}

body {
    color: #fff;
    background-color: #808080;
}

/*********************************************************************/
/* CUSTOM COMPONENTS                                                 */
/*********************************************************************/
.zf-form-control-wrapper {
    position: relative;
}

.zf-form-control-wrapper span {
    font-size: 1.5rem;
    position: absolute;
    top: 6px;
    left: 10px;
    color: #fff;
}

.zf-login-box {
    background: #fff;
    color: #222;
    border-radius: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1rem 1.5rem;
}

.zf-login-boxed {
    background: #222;
    padding: 2rem;
    border-radius: 1.5rem;
}

.zf-login-boxed .form-control {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
}

.zf-login-boxed .form-control:focus,
.zf-login-boxed .form-select:focus {
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
}

.zf-login-boxed .form-control::placeholder {
    color: #000;
}

.zf-login-boxed .zf-form-control-wrapper span {
    color: #000;
}

.zf-intro-emoji {
    font-size: 3.5rem;
}

/*********************************************************************/
/* LOGO AREA                                                         */
/*********************************************************************/
.zf-login-logo {
    text-align: center;
}

.zf-login-logo > img {
    height: var(--zf-logo-height);
    width: var(--zf-logo-width);
}

.zf-login-logo > p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/*********************************************************************/
/* FORM AREA                                                         */
/*********************************************************************/
.zf-public-form {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding-block: 1rem;
    padding-inline: 2rem;
    border-radius: var(--bs-border-radius-xxl);
    box-shadow: var(--bs-box-shadow-sm);
}

.zf-login-content {
    background: transparent;
    position: relative;
    width: 100%;
    min-width: 550px;
    max-width: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    margin: 1.5rem;
    border-radius: var(--bs-border-radius-2xl);
    padding: 5rem;
}

.zf-login-content > div {
    width: 100%;
}

.zf-transparent-form .form-control:-webkit-autofill,
.zf-transparent-form .form-control:-webkit-autofill:hover,
.zf-transparent-form .form-control:-webkit-autofill:focus,
.zf-transparent-form .form-control:-webkit-autofill:active  {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px  rgba(220, 220, 220, 0.35);
}

.zf-transparent-form .form-control::placeholder {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #fff;
    position: relative;
    top: -2px;
    opacity: 0.85;
}

.zf-transparent-form .form-control:focus {
    color: #fff;
}

.zf-transparent-form .form-control {
    width: 100%;
    border: none;
    background: rgba(220, 220, 220, 0.35);
    color: #fff;
    font-weight: 300;
    border-radius: var(--bs-border-radius-lg);
    padding: 8px 8px 8px 40px;
    resize: none;
}

.zf-transparent-form .form-control:focus,
.zf-transparent-form .form-select:focus {
    background-color: rgba(220, 220, 220, 0.35);
}

/*********************************************************************/
/* BACKGROUND VIDEO                                                  */
/*********************************************************************/
/* region Video */
.zf-login-showcase {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.zf-login-showcase > video {
    position: fixed;
    bottom: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    z-index: -100;
}

/* Video texture */
.zf-login-showcase:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;

    background-image: radial-gradient(circle at 1px 1px, black 1px, transparent 0);
    background-size: var(--zf-filter-dotgrid-size) var(--zf-filter-dotgrid-size);
    opacity: var(--zf-filter-dotgrid-opacity);
    z-index: 50;
}

/* Video filter */
.zf-login-showcase:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--zf-filter-background);
    opacity: var(--zf-filter-opacity);
    z-index: 100;
}
/* endregion */

.zf-login-showcase-overlay {
    position: absolute;
    right: 0;
    width: calc(50% - 5.5rem);
    height: 100%;
    z-index: 200;
    margin-inline: 2rem;
    margin-block: 2rem;
}

/*********************************************************************/
/* SHAPES                                                            */
/*********************************************************************/
.waves-wrapper {
    width: 100%;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    opacity: 0.85;
    z-index: 2000;
}

.waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }
}

/*
//.custom-shape-divider-top-1708470255
      svg(data-name='Layer 1', xmlns='http://www.w3.org/2000/svg', viewBox='0 0 1200 120', preserveAspectRatio='none')
        path.shape-fill(d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z', opacity='.25')
        path.shape-fill(d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z', opacity='.5')
        path.shape-fill(d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z')

.custom-shape-divider-top-1708470255 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2000;
    opacity: 0.85;
}

.custom-shape-divider-top-1708470255 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 130px;
}

.custom-shape-divider-top-1708470255 .shape-fill {
    fill: #FFFFFF;
}

//.custom-shape-divider-bottom-1708447072
      svg(data-name='Layer 1', xmlns='http://www.w3.org/2000/svg', viewBox='0 0 1200 120', preserveAspectRatio='none')
        path.shape-fill(d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z', opacity='.25')
        path.shape-fill(d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z', opacity='.5')
        path.shape-fill(d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z')
.custom-shape-divider-bottom-1708447072 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2000;
    opacity: 0.85;
}

.custom-shape-divider-bottom-1708447072 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 130px;
}

.custom-shape-divider-bottom-1708447072 .shape-fill {
    fill: #FFFFFF;
}
*/


/*********************************************************************/
/* RESPONSIVE ADJUSTMENTS                                             */
/*********************************************************************/
@media (max-width: 768px) {
    .zf-login-content {
        min-width: auto;
        padding: 0.5rem;
        margin: 0.75rem;
    }
}