/* Light Mode */
:root {
    --flow-color-primary-50: var(--flow-color-red-50);
    --flow-color-primary-100: var(--flow-color-red-100);
    --flow-color-primary-200: var(--flow-color-red-200);
    --flow-color-primary-300: var(--flow-color-red-300);
    --flow-color-primary-400: var(--flow-color-red-400);
    --flow-color-primary-500: var(--flow-color-red-500);
    --flow-color-primary-600: var(--flow-color-red-600);
    --flow-color-primary-700: var(--flow-color-red-700);
    --flow-color-primary-800: var(--flow-color-red-800);
    --flow-color-primary-900: var(--flow-color-red-900);
    --flow-color-primary: var(--flow-color-red-600);
    --flow-color-icon-active: none;
    --primary-color: #DC2626;

    --silk-background-color: #7a0606;
    
    --background-btn-primary:radial-gradient(100% 100% at 0% 100%, #FFCC00 0%, #FF0015 40%, #C6000F 90%);

    --background-color: #FFFFFF;

    --white-color: #FFFFFF;

    --text-color: #111827;

    --foreground-color: #6B7280; 

    --border-color: #E5E7EB;

    --label-color: #111827;

    --input-background-color: #F3F4F6;

    --link-color: #3B82F6;

    --accent-background-color: #030712;
    --accent-foreground-color: #D1D5DB;

    /* Background for loader */
    /* --auth-background-img: url('/assets/images/auth/bg_tsel.png'); */
    --auth-background-img: url('/assets/images/bg-overlay-light.png');


    --welcomepage-source: url('/assets/icons/ic_rocket_v2.svg');

    /* Brand Logo */
    --company-brand-logo: url("/web/platform/enggano/resources/images/logo/ineom-tiara.svg");
    --loading-brand-logo: url("/web/platform/enggano/resources/images/logo/ineom-tiara.svg");


    --signin-key-logo: url('/assets/icons/ic_flowui_fill_key_1.svg');

    --light-theme-icon: url('/assets/icons/ic_flowui_fill_sun_1.svg');

    --company-brand-logo-small: url("/web/platform/enggano/resources/images/logo/company-logo-small-2.svg");

    --company-brand-logo-small-container: block;

    --carousel-img-1: url('/assets/images/auth/alarm_monitoring_web.webp');

    --carousel-img-2: url('/assets/images/auth/ticketing_system_web.webp');

    --carousel-img-3: url('/assets/images/auth/asset_management_web.webp');

    --carousel-img-4: url('/assets/images/auth/site_maintenance_web.webp');
    
    --carousel-img-5: url('/assets/images/auth/genset_maintenance_web.webp');

    --carousel-img-6: url('/assets/images/auth/mobile_backup_power_web.webp');

    --carousel-img-7: url('/assets/images/auth/interference_lightning_claim_web.webp');


    --block-pattern: url('/assets/images/pattern/block-pattern.svg');

    --company-brand-text-logo: url('/assets/images/auth/auth-loader-text-tiara.svg');

    --loader-gif: url('/assets/images/loader/spinner-loader.gif');

    --company-brand-logo-no-text: url('/assets/images/logo/tiara_logo_brand.svg');
}


body {
    background-color: var(--background-color) !important;
}

.canvas-container {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.flowui-icon-key {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: var(--signin-key-logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.flowui-icon-sun {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: var(--light-theme-icon);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin: 0 !important;
    padding: 0;
    color: var(--text-color) !important;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}

.main-container {
    background-color: var(--background-color);
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: fixed;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-card {
    background-color: var(--background-color);
    padding: 40px;
    width: 100%;
    max-width: 412px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0px 8px 40px 0px #00000012;
}

.login-container-base {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.auth-form-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-left {
    flex: 0 0 40%;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: scroll;
    background: var(--block-pattern);
    background-color: var(--background-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0px !important;
}

.auth-left-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.auth-right {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;

    position: relative;
    overflow: hidden;
    
    background-color: var(--background-color);
}


/* Button Section */

.button-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    min-width: 40px;
    min-height: 40px;

    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 100px;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);

    cursor: pointer;
    white-space: nowrap;
}

.button-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--link-color);
}

.button-primary {
    background: var(--background-btn-primary);
}
/* End of Button Section */

/* Slider Carousel Custom Style */
.login-left-indicator {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
}

.login-left-indicator > li {
    float: left;
    font-size: 0px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4) ;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.login-left-indicator > li.active {
    width: 28px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4) !important;
}

.login-left-indicator > li .indicator-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; 
    background: var(--white-color) !important;
    border-radius: 3px;
    transition: width 9.5s linear; 
    z-index: 1;
}

.login-left-indicator > li:not(.active) .indicator-fill {
    display: none;
}

.login-left-indicator > li.completed {
    width: 6;
    height: 6px;
    border-radius: 3px;
    background: var(--white-color) !important;
}

.login-left-indicator > li.completed .indicator-fill {
    width: 100%;
    background: var(--white-color) !important;
}
/*  */

.login-left-title-content {
    font-size: 24px;
    line-height: 26px;
    font-weight: 600;
    color: var(--white-color);
}

.login-left-description-content {
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
    color: var(--white-color);
}

.login-left-container-indicator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}

.login-left-overlay-background {
    /*background: rgba(222, 64, 27, .8);*/
    /* use bg from file */
    /* background-image: var(--carousel-img);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    width: 100%;
    height: 100vh;
    display: flex;
    z-index: 999;
}

.company-brand-logo-no-text {
    background-image: var(--company-brand-logo-no-text);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 36px;
    height: 24px;
}
.company-brand-text-logo {
    background-image: var(--company-brand-text-logo);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 340px;
    height: 60px;
}

.loader-gif {
    background-image: var(--loader-gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    border-radius: 50%;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    position: absolute;
    bottom: 80px;
    background-image: var(--carousel-img-1);
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: bottom right;
    /* opacity: 0.6; */
    height: 100%;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
}
.carousel-bg{
    background-image: linear-gradient(18.88deg, #A00A0A 0%, #D81616 15%, rgba(214, 18, 18, 0.8) 30%, rgba(153, 5, 5, 0) 75%);
    height: 100%;
    width: inherit;
    left: 0;
    position: absolute;
}

.login-left-content-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    margin-top: 80px;
    margin-left: 80px;
    margin-right: 80px;
}

.login-content-carousel {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    gap: 32px;
    flex: 1;
}

.login-left-content-detail-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
}

.auth-loader-container{
    margin: auto;
    width: 100%;
    background: var(--auth-background-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0%;
}

footer {
    text-align: start;
    margin-left: 16px;
    margin-right: 16px;
    color: var(--foreground-color);
}

@media (max-width: 969px) {
    .auth-right {
        display: none !important;
    }
    
    .auth-left {
        flex: 0 0 100%;
    }

    .form-card {
        width: 90%;
    }
}
