.dpc-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

.dpc-calendar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dpc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dpc-title {
    font-weight: bold;
    font-size: 1.2em;
}

.dpc-nav {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}

.dpc-nav:hover {
    background: #e0e0e0;
}

.dpc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Ensures equal cell widths */
}

.dpc-table th {
    text-align: center;
    padding: 10px 0;
    color: #666;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.dpc-table td {
    text-align: center;
    padding: 0;
    height: 50px;
    /* Square-ish cells */
    vertical-align: middle;
}

.dpc-day span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;
}

.dpc-has-posts {
    cursor: pointer;
    font-weight: bold;
}

.dpc-has-posts a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.dpc-has-posts span {
    background-color: #e0f7fa;
    color: #006064;
}

.dpc-has-posts:hover span,
.dpc-selected span {
    background-color: #00bcd4;
    color: #fff;
}

.dpc-today span {
    border: 2px solid #00bcd4;
}

.dpc-empty {
    background: #fafafa;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .dpc-calendar {
        padding: 5px;
    }

    .dpc-table td {
        height: 40px;
    }

    .dpc-day span {
        width: 25px;
        height: 25px;
        font-size: 0.9em;
    }
}

/* Developer Credit */
.dpc-credit {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
    color: #999;
}

.dpc-credit a {
    color: #777;
    text-decoration: none;
    font-weight: bold;
}

.dpc-credit a:hover {
    color: #00bcd4;
    text-decoration: underline;
}