* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, Helvetica, sans-serif;
    }

    body {
      background: linear-gradient(135deg, #0B1F3A, #1E3A8A, #5B21B6);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      color: white;
    }

    /* HEADER */
    header {
      width: 100%;
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 18px 40px;
    }

    .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .app-title {
      flex: 1;
      text-align: center;
      font-size: 30px;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .datetime {
      text-align: right;
      font-size: 15px;
      line-height: 1.5;
      min-width: 180px;
    }

    /* MAIN */
    main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
    }

    .login-box {
      width: 100%;
      max-width: 430px;
      background: rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.15);
      backdrop-filter: blur(14px);
      border-radius: 24px;
      padding: 40px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    }

    .login-box h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 32px;
    }

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

    .input-group label {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
      font-weight: bold;
    }

    .input-group input {
      width: 100%;
      padding: 16px;
      border: none;
      border-radius: 14px;
      outline: none;
      font-size: 16px;
      background: rgba(255,255,255,0.9);
      color: #0B1F3A;
    }

    .input-group input:focus {
      box-shadow: 0 0 0 3px rgba(168,85,247,0.5);
    }

    .captcha-box {
      margin-top: 25px;
      background: rgba(255,255,255,0.1);
      border: 1px dashed rgba(255,255,255,0.4);
      border-radius: 16px;
      padding: 25px;
      text-align: center;
      color: #e2e8f0;
      font-size: 15px;
    }

    .btn-login {
      width: 100%;
      margin-top: 28px;
      padding: 16px;
      border: none;
      border-radius: 16px;
      background: linear-gradient(135deg, #2563EB, #7C3AED);
      color: white;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .btn-login:hover {
      transform: translateY(-2px);
      opacity: 0.95;
    }

    .recover {
      text-align: center;
      margin-top: 20px;
    }

    .recover a {
      color: #ffffff;
      text-decoration: none;
      font-size: 15px;
      transition: 0.3s;
    }

    .recover a:hover {
      color: #c4b5fd;
      text-decoration: underline;
    }

    /* FOOTER */
    footer {
      width: 100%;
      background: rgba(0,0,0,0.5);
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 18px 20px;
      text-align: center;
      font-size: 14px;
      color: #e2e8f0;
    }
    
    .alert {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease-in-out;
    }

    .alert-success {
        background-color: #ffffff;
        border: 1px solid #22c55e;
        color: #006600;
    }

    .alert-error {
        background: rgba(239, 68, 68, 0.15);
        border: 1px solid #ef4444;
        color: #ef4444;
    }
    
    .error{
        color: #ef4444;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    /* RESPONSIVO */
    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        text-align: center;
      }

      .app-title {
        order: 2;
        font-size: 24px;
      }

      .datetime {
        text-align: center;
        order: 3;
      }

      .login-box {
        padding: 30px 25px;
      }
    }
    