.hp-calendar-container {
    max-width: 1100px;
    margin: 20px auto;
    font-family: inherit;
    box-sizing: border-box;
}

.hp-calendar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.hp-calendar-filters input[type="text"],
.hp-calendar-filters input[type="date"],
.hp-calendar-filters select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.hp-calendar-date-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #475569;
    flex-wrap: wrap;
}

.hp-calendar-btn {
    padding: 8px 16px;
    background-color: #2271b1;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.hp-calendar-btn:hover {
    background-color: #135e96;
}

.hp-calendar-btn-export {
    background-color: #10b981;
}

.hp-calendar-btn-export:hover {
    background-color: #059669;
}

#hp-calendar {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow-x: auto;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media screen and (max-width: 768px) {
    .hp-calendar-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .hp-calendar-filters input[type="text"],
    .hp-calendar-filters select {
        width: 100%;
    }

    .hp-calendar-date-group {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .hp-calendar-date-group input[type="date"] {
        width: 100%;
    }

    .hp-calendar-btn {
        width: 100%;
        text-align: center;
    }

    /* FullCalendar header responsive tweaks */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }

    .fc .fc-toolbar-title {
        font-size: 1.25rem !important;
        text-align: center;
    }

    .fc .fc-button {
        padding: 0.4em 0.6em !important;
        font-size: 0.85em !important;
    }
}