.calendario-juridico-wrapper-4cc26e6d {
    font-family: 'Karla', sans-serif;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.cal-header-4cc26e6d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.cal-selects-4cc26e6d {
    display: flex;
    gap: 10px;
}

.cal-month-select-4cc26e6d,
.cal-year-select-4cc26e6d {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Karla', sans-serif;
    cursor: pointer;
}

.cal-month-select-4cc26e6d option,
.cal-year-select-4cc26e6d option {
    color: #333;
}

.cal-nav-btn-4cc26e6d {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.cal-grid-4cc26e6d {
    background: #fff;
    padding: 20px;
}

.cal-weekdays-4cc26e6d,
.cal-days-4cc26e6d {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.cal-weekdays-4cc26e6d div {
    font-weight: bold;
    padding: 10px 0;
    color: #555;
}

.cal-day-4cc26e6d {
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.cal-day-4cc26e6d.has-events {
    cursor: pointer;
}

.cal-day-4cc26e6d.has-events:hover {
    background: #f9f9f9;
}

.cal-day-4cc26e6d.empty {
    border: none;
    background: transparent;
}

.cal-indicator-4cc26e6d {
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.cal-modal-overlay-4cc26e6d {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cal-modal-overlay-4cc26e6d.active {
    opacity: 1;
    pointer-events: auto;
}

.cal-modal-content-4cc26e6d {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    font-family: 'Karla', sans-serif;
}

.cal-modal-close-4cc26e6d {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cal-events-wrap-4cc26e6d {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cal-event-item-4cc26e6d {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cal-event-item-4cc26e6d:last-child {
    border-bottom: none;
}

.cal-event-item-4cc26e6d h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.cal-event-item-4cc26e6d p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}

.cal-event-link-4cc26e6d {
    display: inline-block;
    padding: 5px 15px;
    background: #0A1E3F;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .cal-day-4cc26e6d {
        min-height: 40px;
    }
}
