﻿

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/gilroy/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/gilroy/Gilroy-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Euclid Circular A';
    src: url('fonts/euclid-circular-a/Euclid-Circular-A-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}



@font-face {
    font-family: 'Euclid Circular A';
    src: url('fonts/euclid-circular-a/Euclid-Circular-A-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

body {
    padding: 1.5rem;
    font-family: 'Euclid Circular A';
    font-weight: 400;
    min-height: 100vh;
    width: 100%;
    background-color: #EBF4FF; /* Adjusting background color */
}

body.off-canvas-sidebar > [ng-controller] {
    width: 100%;
    flex: 1 1 auto;
}

.container-fluid.d-flex {
    width: 100%;
    flex: 1 1 auto;
    padding-left: 0;
    padding-right: 0;
}

.container-fluid > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}


img {
    max-height: 90vh;
    max-width: 100%;
}

.login-name {
    /*margin-top: 100px;
    margin-bottom: 35px;*/
    font-weight: 700;
    color: #ff9900;
    margin-bottom: 1.5rem;
}

.login-content {
    font-family: Gilroy;
    font-weight: 500;
}

    .login-content h1 {
        font-size: 1.2rem;
    }

    .login-content p {
        color: #707070;
        font-size: 1.3rem;
    }

.carousel-item {
    height: 100%;
}

#carouselExampleFade {
    width: 100%;
    overflow: hidden;
}

#carouselExampleFade .carousel-inner {
    width: 100%;
    overflow: hidden;
}

.carousel-item > div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.left-container .carousel-item > .d-flex.flex-column {
    align-items: center;
    justify-content: center;
}

.left-container .carousel-item > .d-flex.align-items-center {
    justify-content: center;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.left-container .carousel-item img.d-block.w-100 {
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.left-container .login-images-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d; /* Matches Bootstrap's default input text color */
    padding: 0 5px; /* Add padding to prevent overlapping with the border */
    background: transparent;
    border: none;
    outline: none !important;
}

.form-control {
    padding-right: 40px; /* Make space for the eye icon */
    font-size: 0.9rem;
}

.text-danger {
    font-size: 0.875em;
}



.iguru-logo {
    margin-top: 0px;
    height: 100px;
    width: 320px;
    margin-bottom: 1rem;
}

.input-icon {
    position: absolute;
    transform: translateY(-50%);
    left: 8px;
    top: 50%;
}

.position-relative {
    position: relative;
}

.form-control {
    padding-left: 35px;
    padding-right: 35px;
    background: #F5FAFF;
    border: 1px solid #EAF0F5;
    border-radius: 8px;
    height: calc(1.5em + 1rem + 3px);
}

    .form-control:focus {
        background: #F5FAFF;
    }

.btn-logo-orange {
    background-color: #FF9900;
    color: #fff;
}

.form-check {
    margin-bottom: 2.5rem;
}

.form-check-input {
    margin-left: -1rem;
    width: 14px;
    height: 14px;
}

.form-check-label {
    margin-left: 4px;
    cursor: pointer;
}

.error-message {
    color: #dc3545; /* Bootstrap danger color */
    font-size: 0.9em;
    margin-top: 10px;
    display: none;
}

[ng-cloak] {
    display: none;
}

.left-container {
    width: 100%; /* Ensures it takes up the full width of its container */
    max-width: 100%; /* Prevents it from exceeding the screen width */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    background-color: #FFC164;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: calc(100vh - 3rem);
}

.left-container #carouselExampleFade {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .left-container {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .right-container {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}


.vector-image-container {
    width: 100%;
    height: 65%;
}

.left-container h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Gilroy';
    color: #197AE9;
    padding-left: 3rem;
}

.left-container p {
    word-wrap: break-word; /* Wraps long text */
    font-size: 24px;
    font-family: 'Gilroy';
    font-weight: 400;
    color: #3C4753;
}

.col-sm-none {
    display: none;
}

.login-images-container img {
    width: 14%;
}

.right-container {
    background-color: #ffffff;
    position: relative;
}

    .right-container > div:first-of-type {
        background-color: #ffffff;
        height: 100%;
        width: 100%;
        overflow: auto;
    }

/* Title with accent underline */
.section-title {
    color: #197AE9;
    font-weight: 800;
    letter-spacing: .2px;
    display: inline-block;
    /*position:relative;*/
    margin: 0;
}

    .section-title span {
        border-bottom: 3px solid #197AE9;
    }
/*.section-title::after{
      content:"";
      display:block;
      width:140px; height:6px;
      background:#ffb703;
      border-radius:999px;
      margin-top:.45rem;
    }*/

/* Timeline */
.timeline {
    position: relative;
    padding-left: 60px; /* space for line + dots */
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 22px; /* vertical line position */
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ffffff;
        border-radius: 6px;
        box-shadow: 0 0 0 1px rgba(0,0,0,.04) inset;
        z-index: 0;
    }

.timeline-item {
    position: relative;
    margin-bottom: 1.1rem;
}

/* Dot marker (placed in the left gutter) */
.timeline-marker {
    position: absolute;
    left: -36px; /* 22px(line) - 60px(padding) */
    top: 1.45rem;
    transform: translate(-50%,-50%);
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffffff; /* cutout against page bg */
    z-index: 2; /* above the card */
}

    .timeline-marker::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 16px;
        height: 16px;
        background: #ff9900;
        border-radius: 50%;
        transform: translate(-50%,-50%);
    }

/* Cards */
.feature-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 16px rgba(16,24,40,.08);
    background: #ffffff;
    z-index: 1;
}

    .feature-card .card-body {
        padding: .95rem 1rem;
        background-color: #ffffff;
        border-radius: 1rem;
    }

    .feature-card .card-title {
        color: #1F3247;
        font-weight: 600;
        margin-bottom: .25rem;
        font-size: 1rem;
    }

    .feature-card p {
        color: #6A6969;
        margin: 0;
        font-size: 1rem;
    }

/* Container width similar to the mock */
.container-narrow {
    max-width: 820px;
}

.errormsg {
    color: #f00;
    margin-top:8px;
    text-align:center;
    display:none;
}

/* Forgot Password */
.forgot-password-link a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.forgot-highlight {
    background: #FFE566;
    color: #000;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
}

.forgot-password-text {
    color: #FF9900;
    font-weight: 700;
}

.forgot-password-view {
    width: 100%;
}

.forgot-password-img {
    max-width: 260px;
    width: 100%;
    margin: 0 auto 1rem;
    display: block;
}

.forgot-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    color: #000;
}

.forgot-email-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #000;
}

.forgot-password-form .form-group {
    margin-bottom: 1.5rem;
}

.back-to-login {
    color: #197AE9;
    font-weight: 600;
    text-decoration: none;
}

.back-to-login:hover {
    text-decoration: underline;
    color: #197AE9;
}

/* OTP Verification */
.otp-verification-view {
    width: 100%;
}

.otp-icon-wrap {
    margin-bottom: 1.5rem;
}

.otp-email-icon {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.otp-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.otp-instruction {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.otp-input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border: 1px solid #EAF0F5;
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.otp-input:focus {
    border-color: #FF9900;
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.15);
}

.otp-error {
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.otp-actions {
    margin-top: 0.5rem;
}

.resend-otp-link {
    color: #197AE9;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.resend-otp-link:hover {
    text-decoration: underline;
}

.resend-otp-link.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: default;
}

.otp-timer {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

/* Set Password */
.set-password-view {
    width: 100%;
}

.set-password-img {
    max-width: 280px;
    width: 100%;
    margin: 0 auto 1rem;
    display: block;
}

.set-password-form .form-control {
    padding-left: 12px;
    padding-right: 40px;
}

.set-password-form .form-group {
    margin-bottom: 1.25rem;
}

.forgoterror {
    color: #f00;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.login-success-modal {
    border-radius: 8px;
    border: none;
}

.login-success-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.login-success-modal .modal-title {
    font-weight: 700;
    color: #000;
}

.login-success-modal .modal-body {
    padding-top: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.login-success-modal .modal-footer {
    border-top: none;
    padding-top: 0;
}

/* Mobile adjustments */
@media (max-width:576px) {
    .timeline {
        padding-left: 52px;
    }

        .timeline::before {
            left: 18px;
        }

    .timeline-marker {
        left: -31px; /* 18px - 52px */
        top: 1.55rem;
    }

    .left-container, .right-container {
        height: 100vh;
        
    }
    .left-container {
        overflow: auto;
    }
}

@media (max-width: 576px) {
    .col-sm-none {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .left-container h1 {
        width: 90%;
    }

    .vector-image-container {
        height: 60%;
    }
}
