:root{--green:#72db28;--dark:#101712;--muted:#8e9b91}body{background:#f3f6f3;color:#18231a;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.navbar{background:#101712!important}.brand-logo{height:48px;width:48px;object-fit:contain;background:white;border-radius:12px}.hero{background:linear-gradient(120deg,#101712,#1d3a23);color:white;border-radius:20px}.btn-success{background:#57bb20;border-color:#57bb20;color:#101712;font-weight:700}.btn-success:hover{background:#75d936;border-color:#75d936;color:#101712}.card{border:1px solid #dce6dd;border-radius:16px;box-shadow:0 3px 15px #18231a08}.pitch{background:repeating-linear-gradient(90deg,#27813c 0,#27813c 32px,#2b8a40 32px,#2b8a40 64px);border:3px solid white;outline:3px solid #227635;height:140px;position:relative;color:white}.pitch:before{content:'';position:absolute;inset:0 50%;border-left:2px solid white}.pitch:after{content:'';position:absolute;width:60px;height:60px;border:2px solid white;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.pitch .area{position:absolute;top:25%;height:50%;width:17%;border:2px solid white}.pitch .left{left:0}.pitch .right{right:0}.slot{display:block;text-decoration:none;padding:10px;border-radius:10px;text-align:center;font-weight:600;background:#e5f7df;color:#196b20;border:1px solid #a6dda0}.slot:hover{background:#c8efbc}.slot.busy{background:#e9e9e9;color:#858585;border-color:#ddd;cursor:default}.slot.past{background:#f2f2f2;color:#aaa;border-color:#e2e2e2;cursor:default}.small-muted{font-size:.88rem;color:#66746a}table{vertical-align:middle} .nav-link{color:#e3e9e3!important}.nav-link:hover{color:#8fed54!important}

/* Disponibilidad DOBLE 5: ocupados rojos y cliente visible */
.slot.busy,.slot.busy:hover{background:#B91C1C;color:#fff;border-color:#991B1B;cursor:default}
.slot-customer{display:block;font-size:.77rem;line-height:1.3;margin-top:4px;overflow-wrap:anywhere;color:#fff;font-weight:500}
.slot.busy small{color:#fff}

/* Correccion definitiva: turnos ocupados en rojo */
a.slot.busy, a.slot.busy:hover, a.slot.busy:focus, .slot.busy { background-color:#B91C1C !important; color:#FFFFFF !important; border-color:#991B1B !important; }
a.slot.busy small, a.slot.busy .slot-customer { color:#FFFFFF !important; }

/* Tarjetas uniformes en escritorio y celular */
.slot {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;
  height:100%;
  min-height:92px;
  padding:10px 6px;
  line-height:1.35;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}
.slot small {display:block;width:100%;line-height:1.35;}
.slot-customer {display:block;max-width:100%;margin-top:5px;overflow-wrap:anywhere;word-break:normal;}
@media (max-width:575.98px) {
  .slot {min-height:104px;padding:9px 4px;font-size:.88rem;}
  .slot small {font-size:.76rem;}
  .slot-customer {font-size:.72rem;}
}

/* Selector de horarios y pestañas de administración */
.admin-tabs .nav-link{color:#1d5b27!important;border:1px solid #b7d4bc;margin-right:8px;font-weight:700}.admin-tabs .nav-link.active{background:#278c34!important;color:#fff!important;border-color:#278c34}.hours-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.hour-option{position:relative;cursor:pointer}.hour-option input{position:absolute;opacity:0;width:1px;height:1px}.hour-option span{display:flex;justify-content:center;align-items:center;text-align:center;min-height:46px;padding:7px 4px;border-radius:9px;border:1px solid #a6dda0;background:#e5f7df;color:#196b20;font-weight:700;font-size:.9rem}.hour-option input:checked+span{background:#267f31;color:white;border-color:#267f31}.hour-option input:focus-visible+span{outline:3px solid #80caff;outline-offset:2px}@media(max-width:767px){.hours-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:380px){.hours-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Menú Administración agrupado e iconografía */
.admin-menu .dropdown-menu{min-width:215px;border:1px solid #b8d6bf;border-radius:12px;padding:7px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.admin-menu .dropdown-item{padding:9px 12px;border-radius:7px;font-weight:600}.admin-menu .dropdown-item i{color:#248334}.admin-menu .dropdown-item.active,.admin-menu .dropdown-item:active{background:#267f31;color:#fff}.admin-menu .dropdown-item.active i,.admin-menu .dropdown-item:active i{color:#fff}
.admin-menu .dropdown-toggle{background:transparent;border:0;cursor:pointer}.admin-menu .dropdown-toggle.active{color:#fff;font-weight:700}
@media(max-width:991.98px){.admin-menu .dropdown-menu{position:static!important;transform:none!important;box-shadow:none;margin:5px 0 10px;background:#f6fff5}.admin-menu .dropdown-toggle{padding:8px 0;text-align:left}}

/* Identidad y acceso DOBLE 5 */
.brand-logo{background:transparent!important;border-radius:0!important;object-fit:contain}
.d5-auth-wrap{min-height:calc(100vh - 200px);display:flex;align-items:center;justify-content:center;padding:22px 12px 52px;background:radial-gradient(ellipse at 12% 12%,#d8eed8 0,transparent 42%),radial-gradient(ellipse at 90% 85%,#e1f1dd 0,transparent 44%)}
.d5-auth-card{width:100%;max-width:480px;background:#fff;border:1px solid #d6e7d6;border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(10,32,16,.12)}
.d5-auth-head{text-align:center;background:linear-gradient(140deg,#101712,#1b3a25);color:#fff;padding:27px 32px 25px}
.d5-auth-logo{display:block;margin:0 auto 10px;width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 4px 10px #0005)}
.d5-auth-kicker{color:#9af16b;font-size:.72rem;letter-spacing:.2em;font-weight:800;margin-bottom:8px}
.d5-auth-head p{color:#d5e5d5;font-size:.91rem}
.d5-auth-body{padding:28px 32px 26px}
.d5-auth-body .form-label{font-size:.88rem;color:#23362a;margin-bottom:7px}
.d5-input{display:flex;align-items:center;border:1px solid #cedfd0;border-radius:11px;overflow:hidden;background:#f9fcf9;transition:border-color .15s,box-shadow .15s}
.d5-input:focus-within{border-color:#58bb24;box-shadow:0 0 0 3px #6fc73c2b}
.d5-input>i{color:#4a8650;padding:0 13px;font-size:1.06rem}
.d5-input .form-control{background:transparent;border:0;box-shadow:none!important;padding:12px 12px 12px 0;min-width:0}
.d5-auth-link,.d5-auth-footer a{color:#217e2d;font-weight:700;text-decoration:none}.d5-auth-link:hover,.d5-auth-footer a:hover{text-decoration:underline}
.d5-auth-submit{padding:12px;border-radius:11px;font-size:1rem}
.d5-auth-footer{text-align:center;border-top:1px solid #e6eee7;margin-top:24px;padding-top:19px;color:#607163;font-size:.9rem}
@media(max-width:575px){.d5-auth-wrap{padding:12px 0 30px;min-height:0}.d5-auth-head{padding:22px}.d5-auth-body{padding:22px}.d5-auth-logo{width:80px;height:80px}}
