/**
 * libcalendaring — Elastic skin styles
 *
 * Neither this plugin nor upstream Kolab ships an elastic stylesheet, only larry.
 * Because rcube_plugin::local_skin_path() has no fallback, the include at
 * libcalendaring.php:150 resolved to a path that does not exist under elastic and
 * 404'd — leaving the alarm popup and the iTip (meeting invitation) dialogs
 * unstyled.
 *
 * The calendar plugin's own elastic CSS already covers .edit-alarm-item,
 * .recurrence-form and .edit-attendees-table, so only the classes it does NOT
 * style are defined here. Colours are inherited (currentColor / opacity) instead
 * of larry's hard-coded greys, so this stays correct in Elastic's dark mode.
 */

/* ---- alarm notification popup ---- */
.alarm-item {
    margin: .4rem 0 1rem 0;
}

.alarm-item .event-title {
    font-weight: bold;
    margin: .1rem 0 .3rem 0;
}

.alarm-item div.event-section {
    opacity: .75;
}

/* ---- iTip (meeting invitation) dialogs ---- */
.itip-dialog-confirm-text {
    margin-bottom: 1rem;
}

.itip-dialog-form input.text,
.popup textarea.itip-comment {
    width: 100%;
    box-sizing: border-box;
}

.itip-dialog-form label > input.checkbox {
    margin-inline-start: 0;
    margin-inline-end: .625rem;
}

.itip-reply-comment {
    padding-inline-start: 2px;
}

.itip-reply-comment textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: .5rem;
}

a.reply-comment-toggle {
    display: inline-block;
    color: inherit;
    opacity: .75;
}

a.reply-comment-toggle:hover {
    opacity: 1;
}

label.noreply-toggle + a.reply-comment-toggle {
    margin-inline-start: 1rem;
}
