* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      height: 100vh;
      background: linear-gradient(135deg, #1a237e, #b71c1c);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Arial', sans-serif;
      overflow: hidden;
      padding: 20px;
    }

    .login-container {
      width: 95%;
      max-width: 1000px;
      height: 75vh;
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
      position: relative;
      background: white;
    }

    /* Panel izquierdo */
    .left-panel {
      flex: 1;
      background: url('img/fotico.png') center/cover no-repeat;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 40px;
      position: relative;
      z-index: 1;
      clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }

    .left-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #1a237e, #b71c1c);
      z-index: -2;
    }

    .left-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
      clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }

    .left-content {
      max-width: 85%;
      text-align: left;
      position: relative;
      z-index: 2;
    }

    .welcome-icon {
      font-size: 2.2rem;
      color: #f79e00;
      margin-bottom: 20px;
    }

    .left-panel h1 {
      font-size: 2rem;
      margin-bottom: 15px;
      font-weight: 700;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
      line-height: 1.3;
    }

    .left-panel p {
      font-size: 0.95rem;
      line-height: 1.6;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
      margin-bottom: 25px;
      opacity: 0.95;
    }

    .features-list {
      list-style: none;
      margin-top: 20px;
    }

    .features-list li {
      margin-bottom: 12px;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      padding: 8px 0;
    }

    .features-list li i {
      margin-right: 12px;
      color: #f79e00;
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.15);
      padding: 8px;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    }

    /* Panel derecho */
    .right-panel {
      flex: 1;
      background: linear-gradient(135deg, #1a237e, #b71c1c);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 30px 40px;
      position: relative;
      clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
      margin-left: -12%;
    }

    .login-box {
      width: 100%;
      max-width: 320px;
      z-index: 3;
      padding: 25px;
      margin-left: 15%;
    }

    .login-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .login-icon {
      font-size: 1.8rem;
      color: white;
      margin-bottom: 12px;
      opacity: 0.9;
    }

    .login-box h3 {
      color: white;
      font-weight: 700;
      margin-bottom: 6px;
      font-size: 1.4rem;
      letter-spacing: 0.3px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    .login-box .subtitle {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.75rem;
      margin-bottom: 0;
      font-weight: 400;
    }

    /* CAMPOS CON ICONOS E INPUTS DEL MISMO TAMAÑO */
    .form-group {
      margin-bottom: 15px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: white;
      font-size: 0.75rem;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
      letter-spacing: 0.2px;
    }

    .input-group {
      position: relative;
      display: flex;
      align-items: stretch; /* Asegura que ambos elementos tengan la misma altura */
    }

    /* ICONOS - MISMO TAMAÑO QUE LOS INPUTS */
    .input-group-text {
      background-color: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-right: none;
      border-radius: 6px 0 0 6px;
      padding: 0;
      color: #666;
      font-size: 0.85rem;
      height: 36px;
      width: 40px; /* Ancho fijo para los iconos */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* INPUTS - MISMO TAMAÑO QUE LOS ICONOS */
    .form-control {
      background-color: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-left: none;
      border-radius: 0 6px 6px 0;
      padding: 8px 12px;
      font-size: 0.8rem;
      transition: all 0.2s ease;
      width: 100%;
      color: #333;
      height: 36px; /* Misma altura que los iconos */
      flex: 1;
    }

    .form-control:focus {
      box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
      border-color: white;
      background-color: white;
    }

    .form-control::placeholder {
      color: rgba(0, 0, 0, 0.4);
      font-size: 0.75rem;
    }

    .btn-login {
      background: linear-gradient(45deg, #ffffff, #f8f9fa);
      border: none;
      border-radius: 6px;
      width: 100%;
      padding: 10px;
      color: #1a237e;
      font-weight: 600;
      font-size: 0.8rem;
      margin-top: 10px;
      transition: all 0.2s ease;
      cursor: pointer;
      letter-spacing: 0.3px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-login:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      background: white;
    }

    .login-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 14px 0;
    }

    .checkbox-container {
      display: flex;
      align-items: center;
      margin: 0;
    }

    .checkbox-container input {
      margin-right: 6px;
      accent-color: white;
      transform: scale(0.9);
    }

    .checkbox-container label {
      font-size: 0.7rem;
      color: white;
      margin: 0;
      font-weight: 500;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .forgot-password {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.7rem;
      text-decoration: none;
      transition: color 0.2s;
      font-weight: 500;
    }

    .forgot-password:hover {
      color: #f79e00;
      text-decoration: underline;
    }

    /* SELECT - MISMO TAMAÑO QUE LOS DEMÁS CAMPOS */
    .form-select {
      background-color: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 6px;
      padding: 8px 12px;
      margin-bottom: 15px;
      width: 100%;
      font-size: 0.8rem;
      color: #333;
      height: 36px; /* Misma altura que los inputs e iconos */
    }

    .form-select:focus {
      box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
      border-color: white;
      background-color: white;
    }

    .register-link {
      text-align: center;
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .register-link a {
      color: white;
      font-size: 0.7rem;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
      opacity: 0.9;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .register-link a:hover {
      color: #f79e00;
      text-decoration: underline;
      opacity: 1;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .login-container {
        flex-direction: column;
        height: auto;
        max-width: 450px;
      }
      
      .left-panel {
        padding: 30px 25px;
        text-align: center;
        align-items: center;
        clip-path: none;
      }
      
      .left-panel::before {
        clip-path: none;
      }
      
      .left-content {
        max-width: 100%;
        text-align: center;
      }
      
      .left-panel h1 {
        font-size: 1.8rem;
      }
      
      .features-list {
        text-align: left;
      }
      
      .features-list li {
        justify-content: center;
      }
      
      .right-panel {
        clip-path: none;
        margin-left: 0;
        padding: 25px 30px;
      }
      
      .login-box {
        padding: 20px;
        max-width: 100%;
        margin-left: 0;
      }
    }

    @media (max-width: 576px) {
      body {
        padding: 15px;
      }
      
      .login-container {
        height: auto;
      }
      
      .left-panel, .right-panel {
        padding: 25px 20px;
      }
      
      .left-panel h1 {
        font-size: 1.6rem;
      }
      
      .login-box h3 {
        font-size: 1.3rem;
      }
      
      .login-box {
        padding: 18px;
      }
      
      .login-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
      }
    }