/* ============================= */
/* RESET */
/* ============================= */

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

body{
background:#f5f7fb;
color:#333;
line-height:1.6;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 60px;
background:#0f2a44;
color:white;
}

.logo{
font-size:22px;
font-weight:bold;
}

.logo span{
display:block;
font-size:12px;
color:#a0b6d8;
}

.navbar nav a{
margin-left:20px;
text-decoration:none;
color:white;
font-weight:500;
}

.navbar nav a:hover{
opacity:0.8;
}

/* ============================= */
/* BOTONES */
/* ============================= */

.btn-primary{
display:inline-block;
background:#ff6b00;
color:white;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
border:none;
cursor:pointer;
font-weight:bold;
}

.btn-primary:hover{
background:#e55d00;
}

.btn-login{
background:#3c6ef5;
padding:8px 16px;
border-radius:6px;
}

.btn-register{
background:#ff6b00;
padding:8px 16px;
border-radius:6px;
}

.btn-unirme{
margin-top:15px;
background:#28a745;
color:white;
border:none;
padding:10px;
border-radius:6px;
cursor:pointer;
width:100%;
font-weight:bold;
}

.btn-unirme:hover{
background:#218838;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero-tandas{
text-align:center;
padding:60px 20px;
background:white;
border-bottom:1px solid #eee;
}

.hero-tandas h1{
font-size:36px;
margin-bottom:10px;
}

.hero-tandas p{
color:#666;
}

/* ============================= */
/* LOGIN / REGISTRO */
/* ============================= */

.login-container{
display:flex;
justify-content:center;
align-items:center;
padding:60px 20px;
}

.login-card{
background:white;
padding:40px;
width:350px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.login-card h2{
margin-bottom:20px;
text-align:center;
}

.login-card input{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:6px;
}

.login-card button{
width:100%;
}

.login-extra{
margin-top:15px;
text-align:center;
font-size:14px;
}

.login-extra a{
color:#3c6ef5;
text-decoration:none;
}

/* ============================= */
/* DASHBOARD */
/* ============================= */

.dashboard{
padding:60px;
}

.dashboard h1{
margin-bottom:10px;
}

.bienvenida{
margin-bottom:30px;
color:#555;
}

/* ============================= */
/* GRID GENERAL (TODAS LAS TARJETAS) */
/* ============================= */

.dashboard-grid,
.tandas-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
gap:25px;
margin-top:20px;
}

/* ============================= */
/* TARJETAS */
/* ============================= */

.card,
.tanda-card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 6px 16px rgba(0,0,0,0.08);
transition:0.2s;
}

.card:hover,
.tanda-card:hover{
transform:translateY(-4px);
}

.card h3,
.tanda-card h3{
margin-bottom:10px;
}

.card p{
color:#666;
margin-bottom:15px;
}

/* ============================= */
/* TANDAS */
/* ============================= */

.tandas{
padding:50px;
}

.tanda-card img{
width:100%;
height:160px;
object-fit:contain;
margin-bottom:15px;
}

.descripcion{
font-size:14px;
color:#666;
margin-bottom:15px;
}

.tanda-card ul{
list-style:none;
font-size:14px;
}

.tanda-card ul li{
margin-bottom:6px;
color:#555;
}

/* ============================= */
/* FORMULARIOS */
/* ============================= */

form select,
form input[type="number"],
form input[type="date"]{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer{
margin-top:60px;
text-align:center;
padding:25px;
background:#0f2a44;
color:white;
font-size:14px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media(max-width:768px){

.navbar{
flex-direction:column;
gap:10px;
text-align:center;
}

.dashboard{
padding:30px;
}

.tandas{
padding:25px;
}

}