

:root {
    --primary-color: var(--primary-color);
  }
  /* Base Styling */
  .input-error {
    border: 1px solid red;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f7f7f7;
}

.login-container {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left Side (Logo Section) */
.logo-section {
    background: var(--primary-color);
    color: #ffffff;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-section img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.logo-section h5 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.logo-section p {
    font-size: 16px;
    line-height: 1.5;
}

/* Right Side (Form Section) */
.form-section {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h5 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.form-section p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #6c757d;
}

.account-form .form-group {
    margin-bottom: 15px;
    position: relative;
}

.account-form input {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

.account-form input:focus {
    border-color: var(--primary-color);
}

.account-form .btn--base {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.account-form .btn--base:hover {
    background: var(--primary-color);
}

.show-pass {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
}

.account-item {
    text-align: center;
    margin-top: 15px;
}

.account-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.account-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .logo-section {
        padding: 20px;
        text-align: center;
    }

    .form-section {
        padding: 20px;
    }
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adjust spacing between inputs */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.otp-container .otp {
    width: 50px; /* Default width for larger screens */
    height: 50px; /* Default height for larger screens */
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-container .otp:focus {
    border-color: #196c6e; /* Focus color */
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .otp-container {
        gap: 5px; /* Reduce spacing between inputs */
    }

    .otp-container .otp {
        width: 40px; /* Adjust width for smaller screens */
        height: 40px; /* Adjust height for smaller screens */
        font-size: 16px; /* Reduce font size for better fit */
    }
}

@media (max-width: 480px) {
    .otp-container {
        justify-content: space-between; /* Use space efficiently */
    }

    .otp-container .otp {
        width: 35px; /* Further reduce width for very small screens */
        height: 35px;
        font-size: 14px;
    }
}