﻿body {margin: 0; font-family: Arial, sans-serif; background-color: #fde8f2;}


/* ESTILOS PARA LOGIN/REGISTRO*/
/* Contenedor que centra todo */
.contenedor {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
    box-sizing: border-box;
}

.contenedor-form {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 110px 0 40px;
    box-sizing: border-box;
}

/* Card central */
#MenuCentral {
    width: 100%;
    max-width: 520px;
    padding: 45px 30px 45px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Logo */
.logo {
    width: 200px;
    margin-bottom: 22px;
}

/* Textos */
#MenuCentral h3 {
    font-size: 26px;
    margin: 0 0 10px 0;
}

#MenuCentral p {
    font-size: 15px;
    margin: 0 0 28px 0;
    color: #444;
}

/* Botones */
.btn {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 25px;
    border: 1px solid #000;
    background-color: #ff9fc9;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

    .btn:hover {
        background-color: #f58bbd;
    }

.btn-light {
    background-color: #ffd6e8;
}

.btn-admin {
    background-color: #e46aa3;
}

@media (max-width: 480px) {
    #MenuCentral {
        width: 90%;
        padding: 25px;
    }

    .logo {
        width: 70px;
    }
}

.input {
    width: 100%;
    max-width: 420px;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.info-clave {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.6);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #333;
}

    .info-clave ul {
        margin: 0;
        padding-left: 18px;
    }

    .info-clave li {
        margin-bottom: 4px;
    }

.mensaje-validacion {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 14px;
}

    .mensaje-validacion.ok {
        background: rgba(0, 180, 0, 0.12);
        color: #0b5e0b;
    }

    .mensaje-validacion.error {
        background: rgba(220, 0, 0, 0.10);
        color: #8b0000;
    }

.campo-form {
    width: 100%;
    max-width: 420px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Link Mostrar/Ocultar */
.accion-clave {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    margin-bottom: 0;
    padding-right: 6px;
}

    .accion-clave span {
        font-size: 13px;
        color: #e46aa3;
        cursor: pointer;
        user-select: none;
    }

        .accion-clave span:hover {
            text-decoration: underline;
        }

.info-clave li {
    color: #8b0000;
    transition: color 0.3s ease;
}

    .info-clave li.ok {
        color: #0b5e0b;
        font-weight: bold;
    }

.barra-superior {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}
.btn-volver {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    border-radius: 25px;
    border: 1px solid #000;
    background-color: #ff9fc9;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.btn-volver:hover {
    background-color: #f58bbd;
}


.grupo-botones {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 12px;
    margin-top: 10px;
}




/*  ESTILOS DEL PANEL (INICIO CLIENTE) - LIMPIO Y SIN DUPLICADOS */

.app-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 18px;
    box-sizing: border-box;
}

.panel-app {
    width: min(1100px, 92vw);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* TOPBAR */
.app-topbar {
    height: 76px;
    background: #ffc1dc;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Logo grande + nombre al lado */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}


.brand-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
}

.brand-name {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.5px;
}

/* BODY LAYOUT */
.app-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 560px;
}

/* SIDEBAR */
.sidebar {
    background: rgba(255, 200, 230, 0.28);
    padding: 18px 16px;
    border-right: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* MENÚ dentro del bloque rosado pálido */
.menu-title {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.75;
    margin: 2px 0 8px;
    padding-left: 6px;
}

/* Botones del menú */
.menu-btn {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.45);
    padding: 14px 12px;
    font-weight: 800;
    cursor: pointer;
}

    .menu-btn:hover {
        background: rgba(255,255,255,0.65);
    }

.menu-subtxt {
    margin-top: -6px;
    padding-left: 6px;
    font-size: 13px;
    color: #444;
    opacity: 0.9;
}

.sidebar-spacer {
    flex: 1;
}

.menu-logout {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.18);
    background: #ff9fc9;
    padding: 14px 12px;
    font-weight: 900;
    cursor: pointer;
}

    .menu-logout:hover {
        background: #f58bbd;
    }

/* CONTENT */
.content {
    padding: 22px 26px 26px;
}

.hola {
    font-size: 34px;
    font-weight: 900;
    margin: 2px 0 6px;
}

.sub {
    margin: 0 0 18px;
    color: #333;
    opacity: 0.9;
}

/* CARDS */
.card {
    background: rgba(255,255,255,0.78);
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    padding: 18px 18px 20px;
    margin-bottom: 18px;
}

.card-title {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 12px;
}

.card-subtitle {
    font-weight: 800;
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 8px;
}

.quote-box {
    background: rgba(255, 200, 230, 0.35);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

/* Inputs panel */
.textbox, .select {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.18);
    padding: 12px 14px;
    font-size: 14px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.85);
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.btn-confirm {
    width: 100%;
    border-radius: 25px;
    border: 1px solid #000;
    background: #ff9fc9;
    padding: 14px 12px;
    font-weight: 900;
    cursor: pointer;
}

    .btn-confirm:hover {
        background: #f58bbd;
    }

.mensaje-app {
    display: block;
    margin-top: 10px;
    color: #b30000;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {
    .app-body {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
}

.mini-label {
    font-weight: 800;
    font-size: 13px;
    opacity: 0.85;
    margin-left: 6px;
    margin-top: 4px;
}

.resena-item {
    background: rgba(255, 200, 230, 0.22);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.resena-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.resena-nombre {
    font-weight: 900;
    font-size: 14px;
}

.resena-rating {
    font-weight: 900;
    font-size: 13px;
    opacity: 0.85;
}

.resena-comentario {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.35;
    white-space: pre-wrap;
}


/* LISTA DE SERVICIOS ADMIN */

.servicio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 200, 230, 0.22);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.servicio-info {
    display: flex;
    flex-direction: column;
}

.servicio-nombre {
    font-weight: 900;
    font-size: 15px;
}

.servicio-detalle {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

/* Íconos */
.servicio-acciones {
    display: flex;
    gap: 10px;
}

.icon-btn {
    border: none;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
}

    .icon-btn:hover {
        background: rgba(255,255,255,0.95);
    }

    .icon-btn.edit {
        color: #444;
    }

    .icon-btn.delete {
        color: #b30000;
    }



/* SWITCH GRANDE (ADMIN) */

.switch {
    position: relative;
    width: 46px;
    height: 26px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: 0.3s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: 0.3s;
    }

.switch input:checked + .slider {
    background-color: #ff9fc9;
}

    .switch input:checked + .slider:before {
        transform: translateX(20px);
    }

/* Íconos admin */
.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    margin-left: 10px;
}

    .icon-btn:hover {
        opacity: 0.7;
    }

/* Alineación acciones servicio */
.servicio-acciones {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Checkbox grande formulario */
.check-grande input {
    transform: scale(1.3);
    margin-right: 8px;
}

/* Agrandar el checkbox */
.check-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e46aa3; /* rosado marca */
    cursor: pointer;
}


/* CHECKS alineados y bonitos */
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 14px;
}


/* Botones FullCalendar */
.fc .fc-button {
    background-color: #ff9fc9 !important;
    border: none !important;
    color: #000 !important;
    border-radius: 16px !important;
    font-weight: 700;
}

    .fc .fc-button:hover {
        background-color: #f58bbd !important;
    }

/* Botón activo */
.fc .fc-button-active {
    background-color: #e46aa3 !important;
    color: #fff !important;
}

.mensaje-exito {
    background: #e6ffe6;
    color: #1e7e34;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}


/* FIX RESPONSIVE FORMULARIOS ADMIN  */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .form-row .textbox,
    .form-row .select {
        flex: 1 1 100%;
        min-width: 100%;
    }

.btn-confirm {
    width: 100%;
    max-width: 100%;
}

/* Tablas responsive */
.grid-card {
    overflow-x: auto;
}

    .grid-card table {
        width: 100%;
        min-width: 600px;
    }

/* FIX botones en formularios */
.card .btn-confirm {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
}

    .form-row .textbox {
        width: 100%;
    }

/* Responsive tablas */
@media (max-width: 768px) {
    .grid-card table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
