*{
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    background-color: rgb(12, 12, 12);
}

img{
    width: 150px;
}

p{
    text-align: center;
    margin: 25px;
    color: rgb(196, 168, 91);
    font-weight: bold;
}
a{
    color: rgb(134, 99, 0);
}
.img {
  background-color: black;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-self: center;
  margin: 2px;

  border-radius: 50px;
  border: none;

  /* primera: borde inferior (inset), segunda: sombra externa */
  box-shadow: 
    inset 0 -3px 0 0 rgb(196, 168, 91),
    0 6px 60px rgba(0, 0, 0, 0.829); 
}

.auth-form {
  display: none;
}
.auth-form.active {
  display: block;
}
.tab-btn.active {
  background: #ddd; /* opcional, para resaltar */
}

.auth-tabs{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.tab-btn {
    margin: 10px;
    width: 250px;
    height: 60px;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #442400; /* texto oscuro */
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, rgb(199, 156, 39), rgb(196, 168, 91));
}

.modelo-res{
    padding: 20px;
    text-align: center;
}

.modelo-res a{
    font-size: 20px;
    color: rgb(255, 208, 79);
}

a .mod1{
    font-size: 20px;
    color: rgb(255, 217, 112);
}
/* ==========================
   Contenedor del formulario
   ========================== */
#form-container {
    max-width: 400px; /* ancho máximo */
    margin: 20px auto; /* centrado horizontal */
    padding: 25px;
    background-color: #1f1f1f; /* fondo oscuro */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* ==========================
   Inputs de login y registro
   ========================== */
.form-input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ceab4b; /* dorado */
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #2c2c2c;
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

/* Efecto focus */
.form-input:focus {
    border-color: #ffd966; /* dorado brillante */
    box-shadow: 0 0 8px rgba(255, 217, 102, 0.6);
    outline: none;
}

/* Input file de foto */
#fotoRegistro {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ceab4b;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    cursor: pointer;
    background-color: #2c2c2c;
    color: #ffd966;
}

/* ==========================
   Botones de login y registro
   ========================== */
.form-button {
    background-color: #ceab4b; /* dorado principal */
    color: #181818; /* texto oscuro para contraste */
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 15px;
    width: 90%;
}

/* Hover y efecto click */
.form-button:hover {
    background-color: #ffd966; /* dorado brillante al pasar */
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(255, 217, 102, 0.7);
}

.form-button:active {
    transform: scale(0.98);
    box-shadow: none;
}

/* ==========================
   Preview de la foto
   ========================== */
#previewFoto img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
}

/* Títulos */
h2 {
    color: #ffd966;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}
