* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background: #f7faf7;
}

.login-page {
    display: flex;
    width: 100%;
    height: 100vh;
}

/*==========================
LEFT PANEL
===========================*/

.left-panel {
    width: 50%;
    background: #f7faf7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-box {
    width: 80%;
    max-width: 520px;
    position: relative;
    z-index: 10;
}

.logo img {
    width: 170px;
    margin-bottom: 60px;
}

h1 {
    font-size: 25px;
    color: #23324f;
    font-weight: 700;
}

.subtitle {
  
    color: #7d8595;
    font-size: 14px;
    margin: 10px 0 25px;

}

label {
    display: block;
    margin-bottom: 10px;
    color: #444;
    font-weight: 600;
}

.input-group {
    display: flex;
    margin-bottom: 30px;
}

.input-group-text {
    width: 45px;
    height: 45px;
    border: 2px solid #57b631;
    border-right: none;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 0 0 5px;
}

.form-control {
    flex: 1;
    height: 45px;
    border: 2px solid #57b631;
    border-left: none;
    border-radius: 0 5px 5px 0;
    padding-left: 15px;
    outline: none;
    font-size: 16px;
}

.form-control:focus {
    box-shadow: none;
    outline: unset;
    border: 2px solid #57b631;;
}

/* OTP */

.otp-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-around;
}

.otp-box {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    border: 2px solid #ddd;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

.otp-box:focus {
    border-color: #57b631;
    box-shadow: 0 0 15px rgba(87,182,49,.2);
    outline: none;
}

.send-btn {
    height: 45px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid #509E3A;
border-radius: 8px;
color:#509E3A ;
    font-weight: 600;
    transition: .3s;
}

.send-btn:hover {
    background: #489825;
    color:#fff ;
}

.forgot {
    margin: 18px 0 35px;
    text-align: right;
}

.forgot a {
    color: #2e9631;
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    width: fit-content;
    height: 45px;
    border: none;
    border-radius: 15px;
    background: transparent linear-gradient(105deg, #66B82F 0%, #2D764B 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
    padding: 0px 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

/*==========================
RIGHT PANEL
===========================*/

.right-panel {
    width: 50%;
    background: linear-gradient(180deg, #599551, #113a1b);
    /* background: transparent linear-gradient(180deg, #84CC1640 0%, #84CC1600 100%) 0% 0% no-repeat padding-box; */
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    width: 70%;
    color: white;
    z-index: 2;
    position: absolute;
    bottom: 40px;
}

.content h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.content p {
    font-size: 18px;
    opacity: .85;
    line-height: 1.8;
}

/*==========================
HEXAGONS
===========================*/

.hex {
    position: absolute;
    width: 70px;
    height: 70px;
    clip-path: polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);
    animation: floating 7s ease-in-out infinite;
}

.h1 {top:100px;left:160px;background:#6fd43c;}
.h2 {top:180px;left:90px;background:#54c73c;}
.h3 {top:180px;left:230px;background:#7bd845;}
.h4 {top:260px;left:160px;background:rgba(255,255,255,.18);}
.h5 {top:260px;left:300px;background:rgba(255,255,255,.18);}
.h6 {top:340px;left:230px;background:#6fd43c;}
.h7 {top:340px;left:90px;background:#54c73c;}

@keyframes floating{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-18px);
    }
}

/*==========================
LEFT BACKGROUND
===========================*/

.floating-bg span{
    position:absolute;
    border-radius:50%;
    animation:move 18s linear infinite;
    opacity:.12;
}

.floating-bg span:nth-child(1){
    width:250px;
    height:250px;
    background:#4CAF50;
    left:-90px;
    top:80px;
}

.floating-bg span:nth-child(2){
    width:120px;
    height:120px;
    background:#7ed957;
    right:100px;
    top:90px;
}

.floating-bg span:nth-child(3){
    width:180px;
    height:180px;
    background:#5ab94e;
    left:150px;
    bottom:70px;
}

.floating-bg span:nth-child(4){
    width:90px;
    height:90px;
    background:#8edc65;
    right:200px;
    bottom:120px;
}

.floating-bg span:nth-child(5){
    width:280px;
    height:280px;
    background:#5ab94e;
    right:-120px;
    bottom:-120px;
}
.hexagon-area {
    position: absolute;
    top: 0px;
    left: 26%;
    opacity: 0.5;
}
.floating-bg span:nth-child(6){
    width:60px;
    height:60px;
    background:#74d34c;
    left:250px;
    top:250px;
}

@keyframes move{
    0%{
        transform:translateY(0) rotate(0deg);
    }
    50%{
        transform:translateY(-40px) rotate(180deg);
    }
    100%{
        transform:translateY(0) rotate(360deg);
    }
}

/*==========================
RESPONSIVE
===========================*/

@media(max-width:991px){

.login-page{
flex-direction:column;
}

.left-panel{
width:100%;
height:100vh;
}

.right-panel{
display:none;
}

.login-box{
width:90%;
}

.otp-wrapper{
flex-wrap:wrap;
}

    .send-btn {
        margin-left: 0;
        margin-top: -7px;
        width: 100%;
        margin-bottom: 20px;
    }

}

 :root {
      --green-primary: #5da13f;
      --green-secondary: #3b6e1f;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --bg-light: #f5f8f5;
      --border-color: #e2e8f0;
      --font-main: 'Poppins', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-main);
      background-color: #ffffff;
      height: 100vh;
      display: flex;
      overflow: hidden;
    }

    .login-container {
      display: flex;
      width: 100%;
      height: 100vh;
    }

    /* Left Side - Login Form */
    .login-left {
      flex: 1;
      background-color: var(--bg-light);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 50px 80px;
      overflow-y: auto;
    }

    .brand-logo {
      margin-bottom: 20px;
    }

    .brand-logo img {
      max-height: 48px;
      width: auto;
    }

    .form-wrapper {
      max-width: 420px;
      width: 100%;
      margin: auto 0;
    }

    .welcome-title {
      font-weight: 600;
      font-size: 32px;
      color: var(--text-dark);
      margin-bottom: 8px;
    }

    .welcome-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      margin-bottom: 30px;
      line-height: 1.5;
    }

    .form-label {
      font-weight: 500;
      font-size: 14px;
      color: #475569;
      margin-bottom: 8px;
      display: block;
    }

    .input-relative {
      position: relative;
      display: flex;
      align-items: center;
    }

    .input-icon {
      position: absolute;
      left: 16px;
      color: #94a3b8;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      transition: color 0.25s;
    }

    .form-control-custom {
      width: 100%;
      padding: 14px 16px 14px 48px;
      font-size: 15px;
      font-family: var(--font-main);
      color: var(--text-dark);
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      transition: all 0.25s ease;
    }

    .form-control-custom::placeholder {
      color: #94a3b8;
      opacity: 1;
    }

    .form-control-custom:focus {
      background-color: #ffffff;
      border-color: var(--green-primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(93, 161, 63, 0.15);
    }

    .input-relative.focused .input-icon {
      color: var(--green-primary);
    }

    /* 6-box OTP inputs */
    .otp-inputs-container {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 10px;
      margin-bottom: 5px;
    }

    .otp-box {
      
      
      text-align: center;
      font-size: 20px;
      font-weight: 600;
      color: var(--text-dark);
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      transition: all 0.25s ease;
    }

    .otp-box:focus {
      border-color: var(--green-primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(93, 161, 63, 0.15);
    }

    .otp-box.is-invalid {
      border-color: #dc2626;
    }

    .otp-box.is-invalid:focus {
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    }

    .btn-get-started {
      background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
      color: #ffffff;
      border: none;
      padding: 12px 28px;
      font-size: 15px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(93, 161, 63, 0.2);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-get-started:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(93, 161, 63, 0.3);
      background: linear-gradient(135deg, #6bb949, #478426);
    }

    .btn-get-started:active {
      transform: translateY(0);
    }

    .submit-wrapper {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
    }

    .resend-btn {
      background: linear-gradient(135deg, var(--green-primary), var(--green-secondary)) !important;
      color: #ffffff !important;
      border: none !important;
      box-shadow: 0 4px 12px rgba(93, 161, 63, 0.2) !important;
    }

    .resend-btn:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(93, 161, 63, 0.3) !important;
      background: linear-gradient(135deg, #6bb949, #478426) !important;
    }

    .resend-btn:disabled {
      background: #94a3b8 !important;
      box-shadow: none !important;
      cursor: not-allowed !important;
      transform: none !important;
    }

    .btn-get-started:disabled {
      background: #94a3b8;
      box-shadow: none;
      cursor: not-allowed;
      transform: none;
    }

    /* Clean Inline Error Styles */
    .form-error {
      color: #dc2626;
      font-size: 13px;
      margin-top: 8px;
      font-weight: 500;
      display: flex;
      align-items: center;
      animation: slideIn 0.2s ease-out;
      text-align: left;
    }

    .form-error svg {
      flex-shrink: 0;
      margin-right: 6px;
      color: #ef4444;
    }

    .form-control-custom.is-invalid {
      border-color: #dc2626;
    }

    .form-control-custom.is-invalid:focus {
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    }

    /* Right Side - Brand Visuals */
    .login-right {
      flex: 1;
      background: linear-gradient(135deg, #164e21, #0f3617);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 80px 100px;
      position: relative;
      color: #ffffff;
      overflow: hidden;
    }

    /* Hexagon patterns absolute container */
    .hexagon-graphic-container {
      width: 100%;
      max-width: 320px;
      margin-bottom: 50px;
      align-self: center;
      display: flex;
      justify-content: center;
    }

    .hexagon-graphic {
      width: 100%;
      height: auto;
      max-height: 280px;
    }

    /* Hover float animations for premium feel */
    @keyframes floatHex {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .hex-item {
      animation: floatHex 6s ease-in-out infinite;
      transform-origin: center;
    }

    .hex-1 {
      animation-delay: 0s;
    }

    .hex-2 {
      animation-delay: 1.2s;
    }

    .hex-3 {
      animation-delay: 2.4s;
    }

    .hex-4 {
      animation-delay: 0.6s;
    }

    .hex-5 {
      animation-delay: 1.8s;
    }

    .hex-6 {
      animation-delay: 3s;
    }

    .tagline-container {
      max-width: 480px;
      margin-top: 30px;
      text-align: left;
    }

    .tagline-title {
      font-size: 38px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .tagline-desc {
      font-size: 16px;
      line-height: 1.6;
      color: #bcf2be;
      opacity: 0.95;
    }

    .footer-subtle {
      font-size: 13px;
      color: #94a3b8;
      text-align: left;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive Breakpoints */
    @media (max-width: 991.98px) {
      .login-right {
        display: none;
      }

      .login-left {
        padding: 40px 30px;
      }

      .form-wrapper {
        margin: auto;
      }
    }
.login-box {
    width: 80%;
    max-width: 520px;
    position: relative;
    z-index: 10;
    height: 550px;
}.footer-subtle {
    font-size: 13px;
    color: #94a3b8;
    text-align: left;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
        width: 100%;
}
@media(max-width:991px){
   .btn-get-started {
      background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
      color: #ffffff;
      border: none;
      padding: 12px 15px;
      font-size: 15px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(93, 161, 63, 0.2);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }}