body {
    margin: 0;
    padding: 0;
    font-family: 'BuenosAires-Regular', Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
}

@font-face {
  font-family: 'BuenosAires-Regular';
  src: url('../content/fonts/BuenosAires-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BuenosAires-Book';
  src: url('../content/fonts/BuenosAires-Book.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BuenosAires-SemiBold';
  src: url('../content/fonts/BuenosAires-SemiBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


.background-grain {
    z-index: 2147483647;
    opacity: .2;
    background-image: url("./images/noise.png");
    background-position: 0 0;
    background-size: auto;
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0%;
    pointer-events: none
}

.login-header-mobile {
    display:flex;
    max-width: 60px;
    padding: 5px 10px 5px 10px;
}

.login-header {
    padding: 5px 60px 5px 60px;
    display: none;
    align-items: center;
    justify-content: space-between;
}


    .login-header .logo img {
        width: 190px;
    }

    .login-header .tagline img {
        width: 400px;
    }


    .login-header .tagline {
        padding-right: 20px;
        padding-top: 50px;
        ;
        font-size: 2.5rem;
        font-weight: normal;
        color: #fff;
    }


/* Layout and Container Styles */
.login-root {
    min-height: 100vh;
    width: 100%;
    background-color: hsla(196, 100%, 42%, 1);
    background-image: radial-gradient(at 100% 0%, hsla(196, 100%, 32%, 1) 0px, transparent 50%), radial-gradient(at 95% 75%, rgb(149, 215, 248) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(179, 100%, 30%, 1) 0px, transparent 50%);
    align-items: center;
    justify-content: center;
    font-family: 'BuenosAires', Arial, sans-serif;
    overflow-x: hidden;
    font-family: 'BuenosAires-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

    .login-root::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 90%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgb(95 184 243 / 38%), transparent);
        /* animation: shimmer 4s infinite; */
    }

.login-container {
    border-radius: 18px;
    width: calc(100% - 20px);
    height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: visible;
}

/* Left Section Styles */
.login-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px;
    color: #fff;
    height: 100%;
    max-width: 50%;
}

    .login-left .ive-logo {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 30px;
        color: #e0f6f6;
        letter-spacing: 2px;
    }



    .login-left .message-container {
        margin-top: 35px;
    }

    .login-left .welcome-title {
        font-size: 3.8rem;
        font-weight: 400;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

        .login-left .welcome-title .highlight {
            color: #ffffff;
        }

    .login-left .welcome-subtitle {
        font-size: 3.0rem;
        font-weight: 300;
        color: #ffffff;
        margin-bottom: 2.5rem;
    }

    .login-left .hero-container {
        opacity: 0;
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: heroEntrance 1.2s ease-out forwards;
        /* animation: heroEntrance 1.2s ease-out forwards, floating 6s ease-in-out infinite; */
        animation-delay: 1.5s, 2.7s;
        width: 100%;
    }

    .login-left .hero-img {
        height: calc(100% - 20px);
        margin-top: 30px;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    }

    /* Remove this if we don't use */
    .login-left .hero-video {
        margin-top: 10px;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
        border-radius: 18px;
        width: 90%;
    }

/* Right Section Styles */
.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 60px;
    color: #fff;
    padding: 30px 20px 30px 20px;
    margin: 10px 25px 10px 10px;
    align-items: center;
}

.login-form-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

    .login-form .k-floating-label-container {
        width: 100%;
    }

    .login-form .k-floating-label {
        color: #fff;
    }

    .login-form .k-empty > .k-floating-label {
        color: rgb(112, 112, 112);
    }

    .login-form .k-focus > .k-floating-label {
        color: #fff;
    }

    /* Form Elements Styling */
    .login-form .k-textbox,
    .login-form .k-input {
        border-radius: 4px;
        color: #222;
        font-size: 1rem;
    }

    .login-form .k-checkbox-label {
        color: #b7f6f6;
        font-size: 0.95rem;
    }

    .login-form .forgot-link {
        font-size: 0.95rem;
        text-align: right;
        margin-left: auto;
        text-decoration: underline;
        cursor: pointer;
        transition: color 0.2s ease;
    }



    .login-form .k-button {
        color: #fff;
        font-size: 1.1rem;
        margin-top: 0.5rem;
        transition: background-color 0.2s ease;
    }



    .login-form .signup-link {
        font-size: 0.95rem;
        margin-top: 0.5rem;
        text-decoration: underline;
        cursor: pointer;
        transition: color 0.2s ease;
    }



.login-info {
    display: flex;
    padding-top: 20px;
    gap: 1rem;
}



    /* Information Section */
    .login-info .new-customers {
        color: #1A2162;
        flex: 1;
    }

    .login-info .trouble {
        flex: 1;
    }

    .login-info .bold {
        font-weight: bold;
    }

.login-right a {
    color: #004FA4;
}

.login-bg-ive {
    display: none;
}

.login-right #modal-loader-login {
    text-align: center;
}



.login-form-container {
    width: 80%;
}


.forgot-password-text {
    padding-bottom: 10px;
}

.login-notification {
    color: white;
    border: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        height: auto;
        padding: 40px 0;
    }

    .login-left,
    .login-right {
        padding: 30px;
        width: 50%;
    }

        .login-left .laptop-img {
            width: 250px;
        }
}

@media (min-width: 1032px) {
    .login-form .login-form-fields {
        display: flex;
        gap: 1rem;
    }

    .login-header {
        display: flex;
    }

    .login-header-mobile {
        display: none;
    }

}

/* Mobile Responsive Adjustments */
@media (max-width: 1032px) {
    .login-root {
        padding: 10px;
    }

    .login-container {
        flex-direction: column;
        height: auto;
        width: calc(100% - 10px);
        padding: 20px 0;
        border-radius: 12px;
    }

    /* Hide left section on mobile */
    .login-left {
        display: none;
    }

    .login-right {
        flex: 1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 40px 30px;
        align-items: center;
        text-align: center;
    }

    .login-form-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .login-form {
        gap: 1.2rem;
    }

        .login-form .k-floating-label-container {
            width: 100%;
        }

    .login-info {
        flex-direction: column;
        padding-top: 1rem;
    }

        .login-info div {
            padding-right: 0;
        }

    /* Stack form elements vertically with better spacing */
    .login-form .k-textbox,
    .login-form .k-input {
        min-height: 48px;
        font-size: 1.1rem;
    }

    .login-form .k-button {
        min-height: 48px;
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    /* Hide background text on mobile */
    .login-bg-ive {
        display: none !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .login-root {
        padding: 5px;
    }

    .login-container {
        width: calc(100% - 5px);
        border-radius: 8px;
    }

    .login-right {
        padding: 30px 0px;
    }

    .login-form-title {
        font-size: 1.6rem;
    }

    .login-form .k-textbox,
    .login-form .k-input {
        min-height: 44px;
        font-size: 1rem;
    }

    .login-form .k-button {
        min-height: 44px;
        font-size: 1.1rem;
    }
}



/* Improve container display on different screen sizes */
@media (max-width: 767px) {
    .circular-text-container {
        width: 300px;
        height: 300px;
        display: none;
        /* Hide on mobile since left section is hidden */
    }

    .circle span {
        font-size: 0.9rem;
    }

    .c2 span {
        font-size: 0.8rem;
    }

    .c3 span,
    .c4 span {
        font-size: 0.7rem;
    }

    .c5 span {
        font-size: 0.6rem;
    }
}


/* Client selection panel*/

    .client-selection-panel {
        padding: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        max-width: 500px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 24px;
        
    }
    
    .client-selection-panel  .panel-header {
        background: var(--kendo-color-primary);  
        padding: 20px;
        text-align: center;

    }
    
    .client-selection-panel  .panel-title {
        color: white;
        margin: 0;
        font-size: 24px;
        font-weight: 300;
    }
    
    .client-selection-panel .panel-content {
        background: rgba(255, 255, 255, 0.75);
        padding: 20px;
    }
    
    .client-selection-panel .instruction-text {
        margin: 0 0 20px 0;
        color: #333;
        font-size: 14px;
        text-align: left;
    }
    
    .client-selection-panel .client-list {
        border: 1px solid #ddd;
        background: white;
        max-height: 450px;
        overflow-y: auto;
        padding-left: 0;
        text-align: center;
    }
    
    .client-selection-panel .list-group-item {
        list-style-type: none;
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: background-color 0.2s ease;
        background: white;
        color: #333;
    }

    .client-selection-panel .list-group-item:hover {
        background-color: var(--kendo-color-accent);
        color: white;

    }
    
    .client-selection-panel .client-item:last-child {
        border-bottom: none;
    }
    
   
    .client-selection-panel .client-item.k-selected {
        background-color: #e6f3ff;
        border-color: #337ab7;
    }
    
    .client-selection-panel .client-name {
        color: #333;
        font-size: 14px;
    }

    .client-selection-panel .msg-error {
        color: red;
        font-size: 14px;
        text-align: center;
    }
    