815 lines
16 KiB
CSS
815 lines
16 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Segoe UI", sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: linear-gradient(135deg, #7a897a, #000);
|
|
color: #f0f0f0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: linear-gradient(180deg, #145214, #0b3d0b);
|
|
padding: 1rem 1rem;
|
|
text-align: center;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 2.5rem;
|
|
color: #d9f2d9;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 700;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.header-subtitle {
|
|
font-size: 1.1rem;
|
|
color: #b8d9b8;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Contenedor principal */
|
|
.contenedor-principal {
|
|
flex: 1;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
padding: 0 1rem 2rem;
|
|
}
|
|
|
|
/* Secciones */
|
|
.seccion {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 2rem;
|
|
border: 1px solid rgba(30, 125, 30, 0.2);
|
|
animation: fadeIn 0.4s ease;
|
|
background-color: #181818;
|
|
}
|
|
|
|
.seccion h2,
|
|
.seccion h3 {
|
|
color: #d9f2d9;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 700;
|
|
border-left: 5px solid #1e7d1e;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.seccion h2 {
|
|
font-size: 1.8rem;
|
|
border-bottom: 2px solid rgba(30, 125, 30, 0.3);
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.seccion h3 {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
/* Botones de tipo de cancha */
|
|
.botones-cancha {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.btn-cancha-tipo {
|
|
padding: 2rem;
|
|
border: 3px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-cancha-tipo .icono {
|
|
font-size: 3rem;
|
|
width: 80px;
|
|
height: 80px;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.btn-cancha-tipo .nombre {
|
|
display: block;
|
|
}
|
|
|
|
.btn-cancha-tipo:hover {
|
|
border-color: #1e7d1e;
|
|
background: rgba(30, 125, 30, 0.15);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 6px 20px rgba(30, 125, 30, 0.3);
|
|
}
|
|
|
|
.btn-cancha-tipo.activo {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 8px 25px rgba(30, 125, 30, 0.6);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Calendario de días */
|
|
.dias-disponibles {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-dia {
|
|
padding: 1rem;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.btn-dia div:first-child {
|
|
font-size: 0.85rem;
|
|
color: #b8d9b8;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.btn-dia div:last-child {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.btn-dia:hover {
|
|
border-color: #1e7d1e;
|
|
background: rgba(30, 125, 30, 0.15);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.btn-dia.activo {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 6px 20px rgba(30, 125, 30, 0.6);
|
|
}
|
|
|
|
.btn-dia.deshabilitado {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
background: rgba(150, 42, 42, 0.15);
|
|
border-color: rgba(150, 42, 42, 0.4);
|
|
}
|
|
|
|
/* Grid de horarios */
|
|
#grid-horarios {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.horario-slot {
|
|
padding: 1.2rem;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
white-space: pre-line;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.horario-slot:hover:not(.ocupado) {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 8px 25px rgba(30, 125, 30, 0.8);
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.horario-slot.ocupado
|
|
.horario-slot.no-disponible {
|
|
background: rgba(150, 42, 42, 0.25);
|
|
border-color: rgba(150, 42, 42, 0.5);
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
color: #ccc;
|
|
}
|
|
|
|
.horario-slot.activo {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 8px 25px rgba(30, 125, 30, 0.8);
|
|
}
|
|
|
|
/* Botones de selección de número de cancha */
|
|
.botones-canchas-numeros {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-numero-cancha {
|
|
padding: 1rem;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.btn-numero-cancha:hover:not(:disabled) {
|
|
border-color: #1e7d1e;
|
|
background: rgba(30, 125, 30, 0.15);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.btn-numero-cancha.activo {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 6px 20px rgba(30, 125, 30, 0.6);
|
|
}
|
|
|
|
.btn-numero-cancha:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
background: rgba(150, 42, 42, 0.15);
|
|
border-color: rgba(150, 42, 42, 0.4);
|
|
}
|
|
|
|
/* Resumen de información */
|
|
.resumen-info {
|
|
background: rgba(30, 125, 30, 0.1);
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
margin-bottom: 2rem;
|
|
border-left: 5px solid #1e7d1e;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.8rem 0;
|
|
border-bottom: 1px solid rgba(30, 125, 30, 0.2);
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.info-item.total {
|
|
background: rgba(30, 125, 30, 0.15);
|
|
padding: 1rem;
|
|
margin-top: 0.5rem;
|
|
border-radius: 8px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.info-item .label {
|
|
color: #d9f2d9;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-item .valor {
|
|
color: #f0f0f0;
|
|
text-align: right;
|
|
}
|
|
|
|
.info-item.total .valor {
|
|
color: #d9f2d9;
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Opciones adicionales */
|
|
.opciones-adicionales {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.opciones-adicionales h3 {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.checkbox-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.checkbox-container:hover {
|
|
background: rgba(30, 125, 30, 0.1);
|
|
}
|
|
|
|
.checkbox-container input[type="checkbox"] {
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
accent-color: #1e7d1e;
|
|
}
|
|
|
|
.checkbox-text {
|
|
color: #f0f0f0;
|
|
flex: 1;
|
|
}
|
|
|
|
.precio-quincho {
|
|
color: #1e7d1e;
|
|
font-weight: 700;
|
|
margin-left: auto;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.quincho-info {
|
|
margin-top: 1rem;
|
|
padding: 0.8rem;
|
|
background: rgba(30, 125, 30, 0.15);
|
|
border-radius: 6px;
|
|
color: #d9f2d9;
|
|
}
|
|
|
|
.quincho-alerta {
|
|
margin-top: 1rem;
|
|
padding: 0.8rem;
|
|
background: rgba(200, 100, 30, 0.25);
|
|
border-radius: 6px;
|
|
color: #f0a060;
|
|
border-left: 3px solid #d97020;
|
|
}
|
|
|
|
/* Datos del cliente */
|
|
.datos-cliente {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
/*padding: 1.5rem;*/
|
|
border-radius: 10px;
|
|
margin-bottom: 2rem;
|
|
background-color: #181818;
|
|
}
|
|
|
|
.datos-cliente h3 {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-cliente {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.form-cliente input {
|
|
width: 100%;
|
|
padding: 0.9rem;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
font-size: 0.95rem;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
/* Reprogramar modal styles */
|
|
.reprogramar-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
}
|
|
.reprogramar-modal {
|
|
width: 900px;
|
|
max-width: 95%;
|
|
background: #121212;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(30,125,30,0.25);
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.6);
|
|
}
|
|
.reprogramar-modal h3 {
|
|
margin: 10px 0;
|
|
color: #d9f2d9;
|
|
border-left: 4px solid #1e7d1e;
|
|
padding-left: 10px;
|
|
}
|
|
.dias-grid, .horarios-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.dia-btn, .horario-btn {
|
|
padding: 14px;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 2px solid rgba(255,255,255,0.06);
|
|
color: #fff;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
white-space: pre-line;
|
|
font-weight: 600;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.dia-btn:hover, .horario-btn:hover { transform: translateY(-4px); border-color: #1e7d1e; background: rgba(30,125,30,0.12); }
|
|
.dia-btn.selected, .horario-btn.selected { background: linear-gradient(135deg,#1e7d1e,#145214); border-color: #1e7d1e; box-shadow: 0 8px 20px rgba(30,125,30,0.5); }
|
|
.reprogramar-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:8px; }
|
|
.reprogramar-actions .btn-cancelar, .reprogramar-actions .btn-confirmar { padding:10px 16px; border-radius:8px; border: none; cursor:pointer; font-weight:700; }
|
|
.reprogramar-actions .btn-cancelar { background: rgba(255,255,255,0.06); color:#fff; }
|
|
.reprogramar-actions .btn-confirmar { background: #1e7d1e; color:#fff; }
|
|
.reprogramar-actions .btn-confirmar[disabled] { opacity:0.5; cursor:not-allowed; }
|
|
|
|
/* Reprogramar button in table */
|
|
.reprogramar-btn { margin-left:8px; padding:6px 8px; border-radius:6px; background: rgba(30,125,30,0.12); border:1px solid rgba(30,125,30,0.2); color:#d9f2d9; cursor:pointer; font-weight:600; }
|
|
.reprogramar-btn.disabled { opacity:0.5; cursor:not-allowed; }
|
|
|
|
/* Estilos para reprogramar desde tabla de reservas */
|
|
.reprogramar-btn {
|
|
margin-left: 10px;
|
|
padding: 0.45rem 0.7rem;
|
|
border-radius: 8px;
|
|
border: 2px solid rgba(255,255,255,0.12);
|
|
background: rgba(255,255,255,0.03);
|
|
color: #d9f2d9;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
.reprogramar-btn:hover:not(:disabled) {
|
|
background: rgba(30,125,30,0.12);
|
|
border-color: #1e7d1e;
|
|
transform: translateY(-2px);
|
|
}
|
|
.reprogramar-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Overlay modal */
|
|
.reprogramar-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
padding: 20px;
|
|
}
|
|
.reprogramar-modal {
|
|
width: min(980px, 96%);
|
|
max-height: 90vh;
|
|
overflow: auto;
|
|
background: #111;
|
|
border-radius: 12px;
|
|
padding: 18px;
|
|
border: 1px solid rgba(30,125,30,0.18);
|
|
box-shadow: 0 8px 30px rgba(0,0,0,0.6);
|
|
}
|
|
.reprogramar-modal h3 {
|
|
color: #d9f2d9;
|
|
margin: 8px 0 12px;
|
|
border-left: 4px solid #1e7d1e;
|
|
padding-left: 10px;
|
|
}
|
|
.dias-grid {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 14px;
|
|
}
|
|
.dia-btn {
|
|
width: 110px;
|
|
height: 70px;
|
|
border-radius: 10px;
|
|
padding: 8px;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 2px solid rgba(255,255,255,0.08);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: pre-line;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.18s ease;
|
|
}
|
|
.dia-btn:hover:not(.deshabilitado) {
|
|
border-color: #1e7d1e;
|
|
background: rgba(30,125,30,0.12);
|
|
transform: translateY(-4px);
|
|
}
|
|
.dia-btn.selected {
|
|
background: linear-gradient(135deg,#1e7d1e,#145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 8px 22px rgba(30,125,30,0.45);
|
|
}
|
|
|
|
.horarios-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(130px,1fr));
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
.horario-btn {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 2px solid rgba(255,255,255,0.08);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: pre-line;
|
|
transition: all 0.18s ease;
|
|
}
|
|
.horario-btn:hover:not(.ocupado) {
|
|
background: rgba(30,125,30,0.12);
|
|
border-color: #1e7d1e;
|
|
transform: translateY(-4px);
|
|
}
|
|
.horario-btn.selected {
|
|
background: linear-gradient(135deg,#1e7d1e,#145214);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 8px 22px rgba(30,125,30,0.45);
|
|
}
|
|
|
|
.reprogramar-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
.reprogramar-actions .btn-cancelar,
|
|
.reprogramar-actions .btn-confirmar {
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
border: 2px solid rgba(255,255,255,0.08);
|
|
background: rgba(255,255,255,0.03);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
.reprogramar-actions .btn-cancelar:hover { background: rgba(255,255,255,0.06); }
|
|
.reprogramar-actions .btn-confirmar:hover:not(:disabled) { background: rgba(30,125,30,0.14); border-color: #1e7d1e; }
|
|
.reprogramar-actions .btn-confirmar:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
|
|
@media (max-width:600px) {
|
|
.dias-grid { justify-content: center; }
|
|
.dia-btn { width: 90px; height: 64px; }
|
|
}
|
|
|
|
.form-cliente input:focus {
|
|
outline: none;
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 0 8px rgba(30, 125, 30, 0.6);
|
|
background: rgba(30, 125, 30, 0.1);
|
|
}
|
|
|
|
.form-cliente input::placeholder {
|
|
color: #888;
|
|
}
|
|
|
|
/* Botones de reserva */
|
|
.botones-reserva {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-verificar,
|
|
.btn-volver,
|
|
.btn-confirmar {
|
|
padding: 0.9rem 2rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.btn-volver {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-volver:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-verificar,
|
|
.btn-confirmar {
|
|
background: linear-gradient(135deg, #1e7d1e, #145214);
|
|
color: #fff;
|
|
box-shadow: 0 4px 15px rgba(30, 125, 30, 0.4);
|
|
min-width: 200px;
|
|
}
|
|
|
|
.btn-verificar:hover,
|
|
.btn-confirmar:hover {
|
|
background: linear-gradient(135deg, #2a9d2a, #1e7d1e);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(30, 125, 30, 0.6);
|
|
}
|
|
|
|
.btn-verificar:active,
|
|
.btn-confirmar:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 2rem 1rem;
|
|
text-align: center;
|
|
color: #b8d9b8;
|
|
border-top: 1px solid rgba(30, 125, 30, 0.2);
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.header-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.seccion {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.botones-cancha {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.btn-cancha-tipo {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.botones-reserva {
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.btn-verificar,
|
|
.btn-confirmar {
|
|
min-width: 100%;
|
|
}
|
|
|
|
.btn-volver {
|
|
width: 100%;
|
|
}
|
|
|
|
#grid-horarios {
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
}
|
|
|
|
.info-item {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.info-item .valor {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* Dropdown de Estado en Tabla */
|
|
.estado-dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
.estado-btn {
|
|
width: 100%;
|
|
padding: 0.6rem 1rem;
|
|
border: 2px solid rgba(30, 125, 30, 0.5);
|
|
border-radius: 6px;
|
|
background: rgba(30, 125, 30, 0.1);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 0.95rem;
|
|
z-index: 11;
|
|
}
|
|
|
|
.estado-btn:hover {
|
|
background: rgba(30, 125, 30, 0.2);
|
|
border-color: #1e7d1e;
|
|
box-shadow: 0 2px 8px rgba(30, 125, 30, 0.3);
|
|
}
|
|
|
|
.estado-texto {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
.estado-flecha {
|
|
font-size: 0.8rem;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.estado-btn[aria-expanded="true"] .estado-flecha {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.estado-opciones {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: #2a2a2a;
|
|
border: 2px solid #1e7d1e;
|
|
border-top: none;
|
|
border-radius: 0 0 6px 6px;
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), 0 0 0 9999px rgba(0, 0, 0, 0.3);
|
|
z-index: 1001;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
margin-top: -2px;
|
|
min-width: 100%;
|
|
width: max-content;
|
|
}
|
|
|
|
.estado-opcion {
|
|
padding: 0.8rem 1rem;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border-bottom: 1px solid rgba(30, 125, 30, 0.2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.estado-opcion:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.estado-opcion:hover {
|
|
background: rgba(30, 125, 30, 0.3);
|
|
padding-left: 1.3rem;
|
|
}
|
|
|
|
.estado-opcion.activo {
|
|
background: rgba(30, 125, 30, 0.5);
|
|
font-weight: 700;
|
|
color: #d9f2d9;
|
|
border-left: 3px solid #1e7d1e;
|
|
padding-left: 0.8rem;
|
|
}
|
|
|
|
/* Animaciones */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(15px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|