/*Paleta de colores
    Rojo #dd3036
    Verde #438369    
*/

html,
body {
    height: 100%;
    background-color: #f5f5f5;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.hero {
    background-image: url('../img/facld.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Capa oscura encima de la imagen */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* oscurece la imagen */
}

/* Para que el contenido esté por encima de la capa oscura */
.hero .hero-body {
    position: relative;
    z-index: 2;
}

#titulo_facld,
#subtitulo_facld {
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/*Menu lateral*/
.profile-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.profile-figure {
    width: 128px;
    height: 128px;
    display: inline-block;
    mask-image: radial-gradient(circle, white 99%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, white 99%, transparent 100%);
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 0.25rem;
}

.skills span {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #438369;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
}

.social-icons a {
    margin-right: 0.5rem;
    color: #363636;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #dd3036;
}

/* Sidebar base */
.sidebar-custom {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Labels */
.sidebar-custom .menu-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #7a7a7a;
    margin-top: 1.2rem;
}

/* Items */
.sidebar-custom .menu-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    color: #363636;
    transition: all 0.25s ease;
    position: relative;
}

/* Hover */
.sidebar-custom .menu-list a:hover {
    background-color: #eef5f0;
    color: #438369;
}

/* Active item */
.sidebar-custom .menu-list a.is-active {
    background-color: #e6f4ea;
    color: #438369;
    font-weight: 600;
}

/* Green accent bar */
.sidebar-custom .menu-list a.is-active::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 4px;
    background-color: #438369;
    border-radius: 4px;
}

/* Footer */
.footer {
    padding: 0.75rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

.btn_verde_facld {
    background-color: #438369;
}

/* Full calendar */
#calendar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Título del mes */
.fc-toolbar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #363636;
}

/* Botones del calendario */
.fc-button {
    background-color: #438369 !important;
    /* Bulma primary */
    border: none !important;
    color: #fff !important;
    text-transform: capitalize;
    border-radius: 6px !important;
    padding: 0.4rem 0.8rem !important;
}

.fc-button:hover {
    background-color: #dd3036 !important;
}

.fc-button:disabled {
    background-color: #b5b5b5 !important;
}

/* Día actual */
.fc-day-today {
    background: rgba(50, 115, 220, 0.1) !important;
}

/* Eventos */
.fc-event {
    background-color: #438369 !important;
    /* Bulma success */
    border: none !important;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #f5f5f5;
}

/* Hover del evento */
.fc-event:hover {
    background-color: #3abb7c !important;
}

/* Cabecera de días */
.fc-col-header-cell {
    background: #f5f5f5;
    font-weight: 600;
}

/* Vista semanal y diaria */
.fc-timegrid-slot-label {
    font-size: 0.75rem;
}

/* ===== MOBILE CALENDAR UX ===== */
@media (max-width: 768px) {

    .fc-toolbar {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .fc-toolbar-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .fc-button {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .fc-prev-button,
    .fc-next-button {
        width: 48px;
        height: 48px;
    }
}


/* Buscador de usuarios */
#lista_usuarios .box {
    cursor: pointer;
    margin-bottom: 5px;
}

#lista_usuarios .box:hover {
    background-color: #f5f5f5;
}