
/* Custom styles for the admin page */
.wrap {
    font-family: Arial, sans-serif;
}
.wp-list-table th {
    background-color: #f1f1f1;
}

/* Style admin action links as buttons using Bootstrap classes.  Ensure
   hover effects darken the button background rather than the text. */
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-danger:hover,
.btn.btn-danger:focus,
.btn.btn-warning:hover,
.btn.btn-warning:focus {
    filter: brightness(90%);
    color: #fff;
}

/* Ensure edit/delete links in tables look like buttons (when not using btn classes) */
a.btn {
    text-decoration: none;
    margin-right: 4px;
}

/*
 * Ensure event list and single event previews fit within their container.
 * Without these rules the blocks may float outside of the surrounding
 * section or grid when inserted into Gutenberg layouts.  We remove
 * default list styling and clear floats so that each list is stacked.
 */
.ask-events-preview-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    clear: both;
}
.ask-events-preview-list li {
    margin-bottom: 1.5rem;
}
.ask-events-block-preview {
    display: block;
    width: 100%;
    clear: both;
}

/* WordPress .button class (used for admin forms) hover effect */
button.button:hover,
a.button:hover {
    filter: brightness(90%);
}
