    :root {
        --color-sitio :  rgb(165, 222, 240);
        --card-label-color : rgb(28, 31, 32);

    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Inter', sans-serif;
/*      background: linear-gradient(135deg, rgb(165, 222, 240), rgb(165, 222, 240) 90%); */
/*      background: url("../images/splash.png"); */
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      position: relative;
    }
    /* fondo decorativo sutil */

    body::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: radial-gradient(circle at 10% 20%, rgba(200, 170, 140, 0.08) 2%, transparent 2.5%);
      background-size: 35px 35px;
      pointer-events: none;
    }


    /* Tarjeta principal: cristal/soft elegance */

    .login-card {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(2px);
      border-radius: 2rem;
      box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.02);
      border: 1px solid rgba(255, 245, 235, 0.7);
      transition: transform 0.25s ease, box-shadow 0.3s ease;
      overflow: hidden;
    }

    .login-card:hover {
      box-shadow: 0 30px 55px -15px rgba(0, 0, 0, 0.3);
    }

    /* lado izquierdo (decoración elegante) */

    .brand-panel {
      background: linear-gradient(145deg, #000 0%, #1f1e1b 100%);
      padding: 2.5rem 1.8rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #f3ede8;
      border-radius: 0 2rem 2rem 0;
      position: relative;
      z-index: 1;
    }

    .brand-panel::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
/*
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(230,210,180,0.05)" stroke-width="0.5"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>') repeat;
*/
      background-size: 28px;
      opacity: 0.2;
      pointer-events: none;
      border-radius: inherit;
    }

    .brand-logo {
      font-family: 'Playfair Display', serif;
      font-size: 2.6rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 0.75rem;
      position: relative;
      display: inline-block;
    }

    .brand-logo i {
      font-size: 2.2rem;
      margin-right: 8px;
      color: #ddb892;
    }

    .brand-tagline {
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.3px;
      border-left: 2px solid #ddb892;
      padding-left: 1rem;
      margin-top: 0.5rem;
      opacity: 0.85;
    }

    .elegant-quote {
      margin-top: 2rem;
      font-style: italic;
      font-weight: 300;
      font-size: 0.9rem;
      border-top: 1px solid rgba(220, 190, 150, 0.3);
      padding-top: 1.5rem;
    }

    /* lado derecho formulario */
    .form-panel {
      padding: 2.5rem 2rem 2.8rem;
      background: #ffffff;
    }

    .form-title {
      font-family: 'Playfair Display', serif;
      font-weight: 600;
      font-size: 2rem;
      letter-spacing: -0.3px;
      color: #2c2b28;
      margin-bottom: 0.4rem;
    }

    .form-sub {
      font-size: 0.85rem;
      color: #8b7a6b;
      border-bottom: 1px solid #eee5dd;
      display: inline-block;
      padding-bottom: 0.5rem;
      margin-bottom: 1.75rem;
    }

    .input-group-custom {
      margin-bottom: 1.5rem;
    }

    .input-group-custom label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #6b5a4b;
      margin-bottom: 0.5rem;
      display: block;
    }

    .input-icon {
      position: relative;
    }

    .input-icon i {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #b7a187;
      font-size: 1.15rem;
      transition: color 0.2s;
      pointer-events: none;
    }

    .form-control-elegant {
      width: 100%;
      padding: 0.85rem 1rem 0.85rem 2.8rem;
      font-size: 0.95rem;
      border: 1px solid #e2d9d0;
      border-radius: 1.2rem;
      background-color: #fefcf9;
      transition: all 0.2s;
      font-weight: 450;
      color: #2e2a27;
    }

    .form-control-elegant:focus {
      outline: none;
      border-color: #cdb094;
      box-shadow: 0 0 0 4px rgba(205, 176, 148, 0.2);
      background-color: #fff;
    }

    .form-check-label {
      font-size: 0.8rem;
      color: #6b5a4b;
      user-select: none;
    }

    .btn-login {
      background: #2c2b28;
      border: none;
      padding: 0.85rem;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.5px;
      border-radius: 2rem;
      transition: all 0.25s;
      color: #fef3e8;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
      width: 100%;
      margin-top: 0.6rem;
    }

    .btn-login:hover {
      background: #4a3b2e;
      transform: translateY(-2px);
      box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.25);
      color: white;
    }

    .forgot-link, .signup-link {
      font-size: 0.8rem;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }

    .forgot-link {
      color: #9b7b60;
    }

    .forgot-link:hover {
      color: #4a3b2e;
      text-decoration: underline;
    }

    .signup-link {
      color: #b4875a;
      font-weight: 600;
    }

    .divider {
      display: flex;
      align-items: center;
      text-align: center;
      margin: 1.5rem 0 1rem;
      color: #bfae9b;
      font-size: 0.7rem;
      font-weight: 500;
    }

    .divider::before, .divider::after {
      content: '';
      flex: 1;
      border-bottom: 1px solid #ece1d6;
    }

    .divider::before {
      margin-right: 0.8rem;
    }
    .divider::after {
      margin-left: 0.8rem;
    }

    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background: #f6f0ea;
      border-radius: 50%;
      color: #5c4b3a;
      font-size: 1.1rem;
      transition: all 0.2s;
      text-decoration: none;
      margin: 0 6px;
    }

    .social-icons a:hover {
      background: #e4d5c8;
      color: #2c2b28;
      transform: scale(1.05);
    }

    /* alert personalizada elegante */
    .alert-custom {
      border-radius: 1.5rem;
      background: #fef1e6;
      border-left: 4px solid #ddb892;
      font-size: 0.8rem;
      color: #5f4c38;
      margin-bottom: 1.3rem;
      padding: 0.6rem 1rem;
    }

    @media (max-width: 768px) {
      .brand-panel {
        border-radius: 2rem 2rem 0 0;
        text-align: center;
        padding: 1.8rem;
      }
      .brand-tagline {
        border-left: none;
        text-align: center;
        padding-left: 0;
      }
      .form-panel {
        padding: 2rem 1.5rem;
      }
      .form-title {
        font-size: 1.8rem;
      }
      .login-card {
        border-radius: 1.8rem;
      }
    }

    /* animación sutil */
    @keyframes gentleFade {
      0% { opacity: 0; transform: translateY(8px);}
      100% { opacity: 1; transform: translateY(0);}
    }
    .login-card {
      animation: gentleFade 0.45s ease-out;
    }

    /* placeholder sutil */
    .form-control-elegant::placeholder {
      color: #cfc2b4;
      font-weight: 300;
      font-size: 0.85rem;
    }
