﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f9fb;
}

#sidebar-wrapper {
    width: 250px;
    transition: all 0.3s;
}

#page-content-wrapper {
    flex-grow: 1;
    overflow-x: hidden;
}

.list-group-item:hover {
    background-color: #0078d7 !important;
    color: #fff !important;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#calendar {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#reservedList {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


    .desktop-layout {
        display: none;
    }

    .mobile-tabs {
        display: block;
    }



#calendar {
    margin: 0 auto;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===== Sidebar ===== */
#sidebar-wrapper {
    width: 230px;
    transition: all 0.3s ease;
}

    #sidebar-wrapper.collapsed {
        width: 70px;
    }

        #sidebar-wrapper.collapsed .list-group-item {
            text-align: center;
            padding-left: 0;
            padding-right: 0;
        }

            #sidebar-wrapper.collapsed .list-group-item i {
                margin-right: 0;
                font-size: 1.3rem;
            }

            #sidebar-wrapper.collapsed .list-group-item span {
                display: none;
            }

/* Auto collapse en pantallas pequeñas */
@media (max-width: 900px) {
    #sidebar-wrapper {
        width: 70px;
    }

        

    #sidebarToggle {
        display: inline-block !important;
    }
}

/* ===== Sidebar base ===== */
#sidebar-wrapper {
    width: 230px;
    min-height: 100vh;
    transition: all 0.3s ease;
}

    #sidebar-wrapper.collapsed {
        width: 70px;
    }

        #sidebar-wrapper.collapsed .sidebar-text {
            display: none;
        }

        #sidebar-wrapper.collapsed .list-group-item {
            text-align: center;
            padding-left: 0;
            padding-right: 0;
        }

            #sidebar-wrapper.collapsed .list-group-item i {
                margin-right: 0;
                font-size: 1.3rem;
            }

            

/* Auto collapse al reducir ancho */
@media (max-width: 900px) {
    #sidebar-wrapper {
        width: 70px;
    }

      
}

.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

    .hover-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.card-title {
    font-size: 1.1rem;
}

.card-text {
    min-height: 50px;
}

.text-primary {
    color: #141414ff !important;
}
.btn-primary {
    background-color: #e4e2dd;
    border: 1px solid #e4e2dd;
}
    .btn-primary:hover {
        background-color: #795d4cff;
        border: 1px solid #795d4cff;
    }
#sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    color: #D2E5E8;
}

    #sidebar-wrapper .list-group a:hover {
        background-color: #141414ff !important;
    }

#page-content-wrapper {
    margin-left: 260px;
    overflow-y: auto;
    height: 100vh;
}

/* Avatar y footer */
.sidebar-footer {
    background-color: rgba(0, 0, 0, 0.2);
}
/* Cuando el sidebar está colapsado */
#sidebar-wrapper.collapsed .sidebar-footer {
    text-align: center;
    padding: 0.5rem 0;
}

    #sidebar-wrapper.collapsed .sidebar-footer img {
        margin: 0 auto;
        display: block;
        width: 36px;
        height: 36px;
    }

    #sidebar-wrapper.collapsed .sidebar-footer div {
        display: none; /* oculta el nombre y estado */
    }

    #sidebar-wrapper.collapsed .sidebar-footer form button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        #sidebar-wrapper.collapsed .sidebar-footer form button i {
            margin: 0;
        }
    /* === Sidebar Footer - Modo colapsado === */
    #sidebar-wrapper.collapsed .sidebar-footer form button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* Ocultar el texto del botón en modo colapsado */
        #sidebar-wrapper.collapsed .sidebar-footer form button span,
        #sidebar-wrapper.collapsed .sidebar-footer form button i + span {
            display: none;
        }

        /* Asegurar que el icono quede centrado */
        #sidebar-wrapper.collapsed .sidebar-footer form button i {
            margin: 0;
            font-size: 1.2rem;
        }
.bg-dark {
    background-color: #e4e2dd !important;
}

.btn-outline-primary {
    color: #e4e2dd;
    border: 1px solid #e4e2dd;
}
    .btn-outline-primary:hover {
        border: 1px solid #141414ff;
        background-color: #141414ff;
    }


.btn-primary {
    background-color: #e4e2dd;
}
/* Oculta todas las líneas horizontales */
.fc-theme-standard td, .fc-theme-standard th {
    border: none !important;
    border-left: 1px solid rgb(229, 229, 229);
}
/* Color de texto de todos los eventos */
.fc-event,
.fc-event-title,
.fc-timegrid-event .fc-event-title,
.fc-daygrid-event .fc-event-title {
    color: #141414ff !important;
}
.fc-v-event .fc-event-main {
    color: #141414ff !important;
}
/* Más padding interno para eventos de TimeGrid */
.fc-timegrid-event .fc-event-main {
    padding: 15px 14px !important; /* ← Ajusta aquí */
    font-size: 14px; /* opcional */
    line-height: 1.3 !important;
    border-radius: 15px !important; /* opcional para hacerlo más bonito */
}
.fc-timegrid-event {
    min-height: 70px !important;
}

.fc .fc-button-primary {
    background-color: #e4e2dd !important;
    border-color: #e4e2dd !important;
    color: #141414ff !important;
}
    .fc .fc-button-primary:hover {
        background-color: #b89c8bff !important;
        border-color: #b89c8bff !important;
        color: #141414ff !important;
    }
@media (max-width: 900px) {
    #page-content-wrapper {
        margin-left: 60px;
        overflow-y: auto;
        height: 100vh;
    }
}
