body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    padding: 20px;
    color: #333;
}

h2, h1 {
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

table th, table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
}

table th {
    background-color: #2c3e50;
    color: #fff;
}

a {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 500px;
}

input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #27ae60;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #219150;
}

a.boton {
    background-color: #2980b9;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    margin-top: 10px;
    display: inline-block;
}













.menu-container {
    max-width: 420px;
    margin: 20px auto 0 auto; /* Centrado vertical y horizontal */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.10), 0 1.5px 4px rgba(44,62,80,0.12);
    padding: 40px 35px 35px 35px;
}

.menu-container h1 {
    margin-top: 0;
    text-align: center;
}

.menu-container ul {
    list-style: disc inside;
    padding-left: 0;
    margin-top: 18px;
}

.menu-container ul li {
    font-size: 1.08em;
    margin: 18px 0;
    text-align: left;
}






/* ajustes del menu*/

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* centrar verticalmente */
    margin: 0;
}

.menu-container h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.menu-container ul li {
    font-size: 26px;
    margin: 35px 0;
}




/* ajustes del agregar cliente*/

.form-cliente-grande input[type="text"],
.form-cliente-grande textarea {
    font-size: 18px;
    padding: 12px;
}

.form-cliente-grande button {
    font-size: 18px;
    padding: 12px 20px;
}

.form-cliente-grande {
    max-width: 600px;
    margin: auto;
}




/* ajustes del login*/


.login-container {
    max-width: 420px;
    margin: 80px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.10), 0 1.5px 4px rgba(44,62,80,0.12);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 34px;
    color: #2c3e50;
}

.form-login input[type="text"],
.form-login input[type="password"] {
    width: 100%;
    font-size: 18px;
    padding: 14px 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-login button {
    font-size: 18px;
    padding: 12px 24px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.form-login button:hover {
    background-color: #219150;
}




/* ajustes de ver clientes*/


.ver-clientes-container {
    max-width: 950px;
    margin: 40px auto;
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.ver-clientes-container h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 25px;
}

.form-filtro input {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.form-filtro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.form-filtro button {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: bold;
}

.tabla-clientes {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tabla-clientes th,
.tabla-clientes td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.tabla-clientes th {
    background-color: #2c3e50;
    color: white;
}

.tabla-clientes tr:nth-child(even) {
    background-color: #f9f9f9;
}

.total-clientes {
    margin-top: 20px;
    font-weight: bold;
}













/* =========================
   LOGIN MODERNO + RESPONSIVO
   (Pegar al final del styles.css)
========================= */

.auth-page{
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f2a37;
  background:
    radial-gradient(900px 450px at 15% 20%, rgba(39,174,96,0.18), transparent 60%),
    radial-gradient(900px 450px at 85% 80%, rgba(41,128,185,0.14), transparent 60%),
    linear-gradient(135deg, #f6f8fb 0%, #eef3f8 45%, #f7f7f7 100%);
}

.auth-wrap{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.auth-card{
  width: min(440px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(44,62,80,0.10);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(44,62,80,0.12);
  padding: 26px;
  backdrop-filter: blur(6px);
}

.auth-header{
  text-align: center;
  margin-bottom: 18px;
}

.auth-badge{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(39,174,96,0.10);
  color: #1f7a45;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.auth-header h1{
  margin: 0 0 6px 0;
  font-size: 28px;
  color: #2c3e50;
}

.auth-header p{
  margin: 0;
  color: #55657a;
  font-size: 14px;
}

.form-login{
  margin-top: 14px;
  background: transparent; /* anula tu estilo global de form */
  box-shadow: none;       /* anula tu estilo global de form */
  padding: 0;             /* anula tu estilo global de form */
  max-width: none;
}

.field{
  display: block;
  text-align: left;
  margin-bottom: 14px;
}

.field span{
  display: block;
  font-size: 13px;
  color: #425466;
  margin: 0 0 6px 2px;
  font-weight: 700;
}

.auth-page .form-login input[type="text"],
.auth-page .form-login input[type="password"]{
  width: 100%;
  font-size: 16px;
  padding: 13px 12px;
  border: 1px solid rgba(31,42,55,0.18);
  border-radius: 12px;
  outline: none;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
  box-sizing: border-box;
}

.auth-page .form-login input:focus{
  border-color: rgba(39,174,96,0.60);
  box-shadow: 0 0 0 4px rgba(39,174,96,0.14);
}

.btn-primary{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #27ae60 0%, #219150 60%, #1f7a45 100%);
  transition: transform 0.08s ease, filter 0.2s ease;
}

.btn-primary:hover{
  filter: brightness(1.03);
}

.btn-primary:active{
  transform: translateY(1px);
}

.auth-footer{
  text-align: center;
  margin-top: 16px;
  color: #6b7a90;
}

/* Responsive */
@media (max-width: 420px){
  .auth-card{ padding: 20px; border-radius: 14px; }
  .auth-header h1{ font-size: 24px; }
}


