.wpcal-wrapper {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 10px auto;
}
.wpcal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.wpcal-header h2 {
    font-size: 28px;
    color: #25414a;
    margin: 0;
}
.wpcal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wpcal-arrow {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.wpcal-month {
    width: 100%;
    border-collapse: collapse;
    background: #fbfbfb;
}
.wpcal-month thead th {
    background: #f7f8f9;
    color: #666;
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid #e6e6e6;
}
.wpcal-month td {
    width: 14.2857%;
    vertical-align: top;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 18px 12px;
    height: 120px;
    position: relative;
}
.wpcal-daynum {
    color: #555;
    font-weight: 600;
    margin-bottom: 6px;
}
.wpcal-out .wpcal-daynum {
    color: #bdbdbd;
}
.wpcal-event {
    background: #1f4f5b;
    color: #fff;
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 13px;
    margin-top: 6px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.wpcal-event:hover {
    background: #165258;
}
.wpcal-show-more {
    color: #1f4f5b;
    font-size: 12px;
    margin-top: 6px;
    cursor: pointer;
    text-decoration: underline;
}
.wpcal-show-more:hover {
    color: #165258;
}
.wpcal-today {
    outline: 3px solid rgba(31, 79, 91, 0.06);
}
.wpcal-hover-box {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
}
.wpcal-event:hover + .wpcal-hover-box, .wpcal-hover-box:hover, .wpcal-show-more:hover + .wpcal-hover-box {
    display: block;
    top: 0;
    left: 100%;
}
@media (max-width: 700px) {
    .wpcal-month td {
        padding: 10px;
        height: 90px;
    }
    .wpcal-hover-box {
        left: 0;
        top: 100%;
    }
}