* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Inter", "Segoe UI", sans-serif;
    }

    html,
    body {
      height: 100%;
    }

    body {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: #f5f5f5;
      overflow-x: hidden;
    }

    .left-panel {
      background: linear-gradient(135deg, #009D71 0%, #026842 100%);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 60px 50px;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-top-left-radius: 18px;
      border-bottom-left-radius: 18px;
      min-height: 100vh;
    }

    .left-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      background: url('https://www.transparenttextures.com/patterns/cubes.png');
      opacity: 0.06;
      pointer-events: none;
    }

    .left-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(
          circle at top left,
          rgba(255,255,255,0.18),
          transparent 60%
        ),
        radial-gradient(
          circle at bottom right,
          rgba(0,0,0,0.25),
          transparent 70%
        );
      pointer-events: none;
    }

    .carousel {
      width: 100%;
      max-width: 350px;
      position: relative;
      color: white;
      z-index: 2;
    }

    .carousel-item {
      opacity: 0;
      position: absolute;
      inset: 0;
      transition: opacity 0.8s ease;
    }

    .carousel-item.active {
      opacity: 1;
      position: relative;
    }

    .carousel-item img {
      width: 320px;
      margin-bottom: 15px;
      filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
    }

    .carousel-item h1 {
      font-size: 34px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .carousel-item span {
      color: #C4D508;
    }

    .carousel-item p {
      color: #e6f5ec;
      font-size: 16px;
      max-width: 280px;
      margin: auto;
    }

    .right-panel {
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 50px 40px;
      height: 100vh;
    }

    .login-box {
      width: 100%;
      max-width: 380px;
      background: #ffffff;
      border-radius: 15px;
      padding: 40px 30px;

      box-shadow:
          0 10px 30px rgb(26, 38, 27);

      animation: fadeUp .5s ease-out;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

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

    /* Logo */

    .logo {
      width: 100px;
      display: block;
      margin: 5px auto 15px auto;
    }

    .logo-container h2 {
      text-align: center;
      font-size: 26px;
      font-weight: 700;
      color: #0A5A32;
      margin-bottom: 25px;
    }

    /* Inputs */

    .input-group {
      margin-bottom: 18px;
    }

    .input-group label {
      display: block;
      font-size: 14px;
      color: #1a1a1a;
      margin-bottom: 5px;
      font-weight: 600;
    }

    .input-group input {
      width: 100%;
      padding: 12px;
      border-radius: 7px;
      border: 1px solid #d2d8d3;
      background: #f9f9f9;
      transition: all 0.25s ease;
    }

    .input-group input:focus {
      border-color: #0C7A3C;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(12, 122, 60, 0.2);
    }

    .input-group input::placeholder {
      color: #9b9b9b;
    }

    /* Mensaje de error */

    .error-msg {
      margin-bottom: 18px;
      padding: 10px 12px;
      border-radius: 7px;
      background: #fee;
      border: 1px solid #f5b5b5;
      color: #b00020;
      font-size: 14px;
      text-align: center;
    }
    
    /* OJO DE CONTRASEÑA */

        .input-group .password-wrapper {
            position: relative !important;
            width: 100% !important;
        }
        
        .input-group .password-wrapper > input {
            width: 100% !important;
            padding-right: 48px !important;
            box-sizing: border-box !important;
        }
        
        .input-group .password-wrapper > .password-toggle {
            position: absolute !important;
        
            top: 50% !important;
            right: 14px !important;
        
            transform: translateY(-50%) !important;
        
            width: 32px !important;
            height: 32px !important;
        
            padding: 0 !important;
            margin: 0 !important;
        
            border: none !important;
            outline: none !important;
        
            background: transparent !important;
            box-shadow: none !important;
        
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        
            color: #6b7280 !important;
            cursor: pointer !important;
        
            z-index: 20 !important;
        }
        
        .input-group .password-wrapper > .password-toggle:hover {
            background: transparent !important;
            color: #0f8a5f !important;
        }
        
        #passwordIcon {
            font-size: 16px !important;
            line-height: 1 !important;
            pointer-events: none;
        }
    
    

    /* BOTÓN LOGIN */

    .btn-login {
      width: 100%;
      padding: 13px;
      background: #0C7A3C;
      color: white;
      border: none;
      border-radius: 7px;
      font-size: 16px;
      cursor: pointer;
      font-weight: 600;
      transition: 0.25s ease;
    }

    .btn-login:hover {
      background: #0A5A32;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(12, 122, 60, 0.25);
    }

    .footer-text {
      text-align: center;
      margin-top: 30px;
      font-size: 12px;
      color: #777;
      letter-spacing: 0.3px;
    }

    .footer-text span {
      font-weight: 600;
      color: #0A5A32;
    }

    @media (max-width: 900px) {

      body {
        grid-template-columns: 1fr;
      }

      .left-panel {
        display: none;
      }

    }
    