.acantic-ical-calendar {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.acantic-ical-calendar table {
    width: 100%;
    border-collapse: collapse
}

.acantic-ical-calendar th,
.acantic-ical-calendar td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center
}

.acantic-ical-day-available {
    background: #dff0d8
}

.acantic-ical-day-busy {
    background: #f2dede
}

.acantic-ical-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px
}

.acantic-ical-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.acantic-ical-placeholder {
    width: 34px;
    display: inline-block
}

.acantic-ical-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 4px;
    color: var(--contrast);

    display: flex;
    align-items: center;
}

.acantic-ical-btn > svg {
    width: 25px;
    height: 25px;
}

.acantic-ical-month-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding-right: 32px;

    background-repeat: no-repeat;
    background-position: center right 10px;
    background-size: 20px 20px;
    background-color: #fff;
    margin-bottom: 0;
}

.acantic-ical-month-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5' fill='none' stroke='%231c5a37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}


.acantic-ical-legend-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border: 1px solid #b2dba1
}

.acantic-ical-legend-available {
    background: #dff0d8;
    border-color: #b2dba1
}

.acantic-ical-legend-busy {
    background: #f2dede;
    border-color: #e0b4b4
}

.acantic-ical-loading {
    text-align: center;
    padding: 10px
}

.acantic-ical-error {
    color: #900;
    padding: 10px
}

/* Link style for available days */
.acantic-ical-day-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 4px 0;
}
.acantic-ical-day-link:hover {
    text-decoration: underline;
}

.acantic-ical-day-selected {
    background: var(--accent);
    color: white;
}