/**
 * Theme Name: Simple
 *
 * Distinctive features:
 *  - Prev / next month navigation: text-only `<` `>` arrows with no
 *    background and no border, so they don't read as buttons
 *    (matches the Elegant theme's nav style).
 *  - Weekday header: no background, no border. Plain text only.
 *    The base stylesheet draws a 1px frame on th, plus default
 *    browser borders sometimes appear on the table / thead / tr
 *    edges; we reset all of these aggressively with `!important`
 *    (same approach as the Elegant theme).
 *  - Date cells: keep the base 1px gray frame.
 *  - "Today" cell uses a small accent circle on the date number.
 */

/* ===== Navigation buttons: arrow-only, no button chrome =====
   Use the high-specificity selector + `!important` on background
   so we override any base or admin-side button styling. */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header button.calendar-nav-button {
    background-color: transparent !important;
    color: #555;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 10px;
    width: auto;
    height: auto;
    min-width: 32px;
    position: relative;
    font-size: 0; /* Hide visible text; arrow is drawn via ::before. */
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header button.calendar-nav-button:hover {
    background-color: transparent !important;
    opacity: 0.6;
    transform: scale(1.1);
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header button.calendar-nav-button:focus {
    background-color: transparent !important;
    outline: none;
}
/* Generate arrows with ::before pseudo-element. */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header button.calendar-nav-button::before {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header .prev-month::before {
    content: '<';
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header .next-month::before {
    content: '>';
}
/* Hide the original button text but keep it accessible to screen
   readers. */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header .button-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Header layout adjustment ===== */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-header h2 {
    font-size: 1.6em;
}

/* ===== Aggressive border reset on table-level elements =====
   Same approach used by the Elegant theme. Ensures no top / left
   line appears at the calendar edge or between the weekday row
   and the date rows. The base stylesheet sets `border: 1px solid`
   on th, and some browsers also render default thead / tr
   separators; this reset eliminates all of them. */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table {
    border: 0 !important;
}
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table thead,
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table tbody,
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table tr {
    border: 0 !important;
    background: transparent !important;
}

/* ===== Weekday header: no background, no border ===== */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table th {
    border: none !important;
    background-color: transparent !important;
    font-size: 0.75em;
    color: #666;
    padding: 8px 5px;
}

/* ===== "Today" circle ===== */
.asbcala-shortcode-wrapper .asbcala-theme-simple .calendar-table td.today .date-number {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 0.85em;
}
