/* ===================== */
/*   ESTILO GLOBAL PRO   */
/* ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to bottom right, #ffffff, #f7f7f7);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  color: #2f2f2f;
}

/* ===================== */
/*    CONTENEDOR MAIN    */
/* ===================== */
.login-box, 
.panel-box {
  width: 360px;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 18px;
  border: 2px solid #f4b860;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ===================== */
/*       ENCABEZADO      */
/* ===================== */
h2 {
  font-size: 1.7rem;
  color: #2f2f2f;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* ===================== */
/*         INPUTS        */
/* ===================== */
input {
  width: 100%;
  padding: 12px;
  margin: 12px 0;
  border-radius: 10px;
  border: 1.8px solid #d9d9d9;
  background: #f9f9f9;
  font-size: 1rem;
  transition: 0.3s ease;
}

input:focus {
  border-color: #f4b860;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(244,184,96,0.4);
  outline: none;
}

/* ===================== */
/*        BOTONES        */
/* ===================== */
button {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background-color: #2f2f2f;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #f4b860;
  color: #2f2f2f;
  transform: scale(1.04);
}

/* ===================== */
/*    NAV / BOTONES      */
/* ===================== */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1rem;
}

.nav-btn {
  background-color: #2f2f2f;
  color: #ffffff;
  border-radius: 10px;
  padding: 0.7rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid #2f2f2f;
}

.nav-btn:hover {
  background-color: #f4b860;
  color: #2f2f2f;
  border-color: #f4b860;
  transform: scale(1.08);
}

/* ========================== */
/*   DIFERENCIACIÓN DE TEXTO */
/* ========================== */
.panel-box label {
  display: block;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.3rem;
}

/* ===================== */
/*       RESPONSIVE      */
/* ===================== */
@media (max-width: 480px) {
  .login-box, .panel-box {
    width: 90%;
    padding: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
