dialog {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(238, 237, 237, 0.3);
  padding: 32px;
  width: 360px;
  max-width: 90%;
  background-color: #ffffff;
  margin-top: 24px;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: 
    opacity 0.2s ease, 
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    display 0.2s ease allow-discrete, 
    overlay 0.2s ease allow-discrete;
}
#loginForm {
  display: flex;
  flex-direction: column;
}
dialog:not([open]) {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
}
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}
dialog::backdrop {
  background-color: rgba(214, 217, 225, 0.3);
  backdrop-filter: blur(4px);      
  opacity: 1;
  transition: opacity 0.2s ease, display 0.2s ease allow-discrete, overlay 0.2s ease allow-discrete;
}
dialog:not([open])::backdrop {
  opacity: 0;
}
@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}
    h2 {
      margin: 0 0 24px 0;
      color: #1e293b;
      text-align: center;
      font-size: 24px;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #475569;
      font-size: 14px;
    }
    .form-group input {
      width: 100%;
      padding: 12px;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      box-sizing: border-box;
      font-size: 14px;
      transition: border-color 0.1s;
    }
    #usuario{text-transform: uppercase;}
    .form-group input:focus {
      border-color: #3b82f6;
      outline: none;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }
    #statusMessage {
      font-size: 14px;
      text-align: center;
      margin-bottom: 16px;
      min-height: 20px;
      font-weight: 500;
    }
    .form-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 24px;
    }
.form-actions button {
     padding: 10px 20px;
     font-size: 1em;
     border-radius: 8px;
     /*border: none;*/
     border:1px solid #ffffff;
  box-sizing: border-box;
      color: white;
      cursor: pointer;
      font-weight: 300;
      transition: background 0.1s;
    }
    button[type="button"] {
      background-color: #58a2eb;
      /*color: #475569;*/
      color: white;
    }
    button[type="button"]:hover { background-color: #3b82f6;border:1px solid #2563eb; }
    #togglePassword{
      /*position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.2rem;
      padding: 0;
      z-index: 3;*/
/*
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.2rem;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: #64748b;
      z-index: 5;
*/
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      z-index: 5;

    }