<style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    @import url('https://fonts.googleapis.com/css2?family=Poppins');
    html, body, p, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,div {
        font-family: 'Poppins' !important;
    }

    h1, h2, h3, h4, h5, h6, .title_header_generic_class,input, .title2, .horizontal-touchcarousel-title, .sidebar-head,#subtotal-title, #course_title, .blog_title, .sidebar-head a, #assignment, #task_title_assessment, .select_assessment_title {
        font-family: 'Poppins' !important;
    }

    input::placeholder {
       font-family: 'Poppins' !important; 
    }

    body {
        display: flex;
        background-image: url(https://static.online.virtualshaala.com/dashassets/backgrounds/loginbg.png);
        background-repeat: repeat;
        flex-direction: row;
        margin: 0;
        height: 100vh;
        font-family: 'DM Sans';
    }

    .login_banner {
        width: 45vw;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f84c45;
    }

    .login_banner img{
        height: 97vh;
    }

    .login-content{
        width: 55vw;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .login-container {
        width: 100%;
        max-width: 400px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .loginlogo{
        display: flex;
        justify-content: center;
    }

    .logo {
        width: 120px;
        height: auto;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .login-card {
        background: white;
        padding: 10%;
        padding-top: 3%;
        border-radius: 0.75rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        width: 65%;
        padding-right: 15%;
        display: flex;
        flex-direction: column;
    }

    .login-card:hover {
        transform: scale(1.01);
    }

    .form-group label {
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.4rem;
    }

    .password-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 109%;
    }

    .forgot-password {
        font-size: 0.775rem;
        color: #df8405;
        text-decoration: none;
        transition: color 0.2s;
        margin-left: 25%;
    }

    .forgot-password:hover {
        color: #c67504;
    }

    .form-input {
        width: 90%;
        padding: 5%;
        border: 1px solid #ADABBA;
        background-color: #ffffff;
        font-size: 1rem;
        transition: all 0.2s;
        margin-bottom: 4%;
        padding-left: 14%;
    }

    #signupform .form-input {
        margin-bottom: 1.2% !important;
        padding: 3.5% !important;
        padding-left: 14% !important;
    }

    .form-input::placeholder {
        font-size: 14px;
        opacity:0.6;
    }

    #email{
        /* background: url(/dashassets/icons/loginemail.svg);
        background-repeat: no-repeat;
        background-position: 6px center; */
    }

    #password{
        /* background: url(/dashassets/icons/loginpass.svg);
        background-repeat: no-repeat;
        background-position: 6px center; */
    }

    #confirmpassword{
        /* background: url(/dashassets/icons/loginpass.svg); */
        /* background-repeat: no-repeat;
        background-position: 6px center; */
        margin-bottom: 3%;
    }

    #selectgroup {
        width: 110%;
        height: 45px;
        margin-bottom: 1%;
        border: 1px solid #ADABBA;
        background-color: #ffffff;
        font-size: 14px;
        padding-left: 14%;
    }

    .inputicon {
        position: absolute;
        width: 20px; 
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        pointer-events: none;
        margin-top: 12px;
        margin-left: 7px;
      }
      
      #loginForm .inputicon {
        margin-top: 15px;
      }
      
      .email-icon {
        background-image: url(/dashassets/icons/loginemail.svg);
      }
      
      .pass-icon {
        background-image: url(/dashassets/icons/loginpass.svg);
      }
       
      .groupselect-icon {
        background-image: url(/dashassets/icons/online-test.png);
      }

      .name-icon {
        background-image: url(/dashassets/icons/username.png);
      }

      .mobile-icon {
        background-image: url(/dashassets/icons/phone.png);
      }

      .coupon-icon {
        background-image: url(/dashassets/icons/ticket.png);
      }

    .form-input:focus {
        outline: none;
        border-color: #df8405;
        box-shadow: 0 0 0 3px rgba(223, 132, 5, 0.2);
        background-color: white;
    }

    .submit-btn {
        width: 110%;
        padding: 0.75rem;
        background-color: #df8405;
        color: white;
        border: none;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: none;
        margin-bottom: 4%;
        margin-top: 4%;
        font-family: 'Poppins';
    }

    .submit-btn:hover {
        background-color: #c67504;
    }

    .submit-btn:active {
        transform: translateY(1px);
    }

    .logincardspan{
        text-align: center;
        font-size: 12px;
        padding: 5%;
    }

    .googlelogin{
        box-sizing: border-box;
        position: relative;
        background: #FFFFFF;
        border: 2px solid #D7DADB;
        height: 6vh;
        width: 110%;
        padding: 1%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 0.875rem;
    }

    .googlelogin img{
        margin-right: 4%;
        margin-left: -4%;
        height: 75%;
        width: 10%;
    }

    .signup-link {
        text-align: center;
        margin-top: 0.5rem;
        color: #4b5563;
        font-size: 0.875rem;
        font-weight: bold;
    }

    .signup-link a,
    .signup-link span {
        color: #df8405;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }
    .login-link {
        text-align: center;
        margin-top: 0.5rem;
        color: #4b5563;
        font-size: 0.875rem;
        font-weight: bold;
    }

    .login-link a,
    .login-link span {
        color: #df8405;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .signup-link a:hover,
    .signup-link span:hover {
        color: #c67504;
    }

    /* Added styles for error messages */
    .error-message {
        color: #dc2626;
        font-size: 0.875rem;
        margin-top: 0.5rem;
        display: none;
        padding: 0.5rem;
        background-color: #fee2e2;
        border-radius: 0.375rem;
        border: 1px solid #fecaca;
        width: 102%;
        margin-bottom: 1%;
    }

    .loading-spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #df8405;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto;
        transition: none;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @media (max-width: 480px) {
        .login-card {
            padding: 1.5rem;
        }
        .logo {
            width: 34vw;
        }
        .error-message {
            width: 93%;
        }
        .user-message {
            width: 93%;
        }
        .forgot-password {
            margin-left: 8%;
        }
        .password-header {
            width: 100% !important;
        }
        .inputicon {
            margin-top: 11px;
        }
    }
  
  .welcome-section {
    text-align: center;
    height: 85%;
    padding: 0px 15% 0px 15%;
    margin-top: -5%;
  }

  .welcomeheader{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 6%;
    padding-bottom: 3%;
    border-bottom: 1px solid #FFAA01;
  }
  
  .welcomeheader h1 {
    font-size: 40px;
    color: #ffffff;
    margin: 0;
  }

  .welcomeheader p{
    font-size: 24px;
    color: #ffece9;
    margin: 0;
  }
  
  .welcome-section p {
    font-size: 18px;
    color: #ffece9; /* Slightly lighter white */
  }
  
  /* Feature styles */
  .feature {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 4%;
  }
  
  .feature:last-child {
    margin-bottom: 0;
  }
  
  .feature img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
  }
  
  .feature-content h2 {
    font-size: 20px;
    margin: -2% 0 4%;
    color: white;
  }
  
  .feature-content p {
    font-size: 16px;
    color: #ffece9;
    margin-top: -2%;
  }

  @media (min-width: 920px) and (max-width: 1244px) {
    .welcomeheader h1 {
      font-size: 30px;
    }

    .welcome-section p {
        font-size: 14px;
    }

    .feature-content h2 {
        font-size: 16px;
        margin: -2% 0 2%;
    }

    .feature img {
        width: 40px;
        height: 40px;
    }
  }

  @media (max-width: 920px) {
    .login_banner {
        display: none;
    }
    .login-content {
        width: 100%;
    }
  }

  @media (max-width: 481px) {
    .form-input {
        width: 80%;
    }

    #selectgroup {
        width: 100%;
    }
    
    .submit-btn {
        width: 100%;
    }

    .googlelogin {
        width: 100%;
    }

    body{
        background-image: none !important;
        background-repeat: unset !important;
    }

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(https://static.online.virtualshaala.com/dashassets/backgrounds/loginbg.png);
        background-repeat: repeat;
        opacity: 0.5;
        z-index: -1; 
    }

    .login-card {
        background: none;
        box-shadow: unset;
        margin-top: -20%;
    }

    .login-card.signup {
        margin-top: 14% !important;
    }

    .login-content {
        width: 100%;
        height: 93vh;
        min-height: 650px;
    }
  }
.otp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#otpModal .error-message {
    width: 95% !important; 
}

.otp-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.otp-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.otp-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.otp-input-container {
    margin-bottom: 20px;
}

.otp-input {
    width: 93%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 4px;
    transition: border-color 0.3s;
}

.otp-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.otp-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.otp-button-group {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.otp-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.otp-btn-cancel {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
}

.otp-btn-cancel:hover {
    background: #e9ecef;
}

.otp-btn-verify {
    background: #df8405;
    border: none;
    color: white;
}

.otp-btn-verify:hover {
    background: #df0505;
}

.otp-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#timer {
    color: #666666;
    font-size: 14px;
    display: none;
}

#resendOtpBtn {
    background: none;
    border: none;
    color: #e31e24;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    display: none;
    text-decoration: underline;
}

#resendOtpBtn:hover {
    color: #b31116;
}

.otp-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .otp-modal-content {
        padding: 20px;
        width: 80%;
    }
    
    .otp-modal-title {
        font-size: 18px;
    }

    .otp-button-group {
        flex-direction: column;
    }

    .otp-btn {
    width: 84%;
        margin-left: 8%;

    }
    .resend-container {
        margin-bottom: 10px;
    }
}

@media (min-width: 481px) and (max-width: 920px) {
    .login-card.signup {
        transform: scale(0.9);
    }
}

@media screen and (min-width: 781px) {
    #passwordform .inputicon.name-icon {
        margin-top: 14px;
    }
}

@media (min-width: 781px) {
    .login-card.signup {
       scale: 0.9;
       width: 70%;
    }
}

.user-message {
    color: #374151;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    width: 105%;
    margin-bottom: 1%;
    background-color: #fee2e2;
    margin-top: -2%;
    text-align: center;
}

</style>