/*!
 * @link https://www.humhub.org/
 * @copyright Copyright (c) 2025 HumHub GmbH & Co. KG
 * @license https://www.humhub.com/licences
 */

.invites .hh-list {
    margin-top: 10px;
}
.invites .flex-grow-1 {
    width: 1%;
    word-break: initial;
}
.invites .flex-grow-1:first-child {
    width: auto;
}
.invites .flex-grow-1:first-child .flex-shrink-0 {
    float: left;
    margin-right: 5px;
}
.invites .flex-grow-1:not(:first-child) {
    padding-left: 5px;
}

.form-heading {
    margin-bottom: 20px;
}

#date-rows {
    background-color: var(--hh-background-color-page);
    border-radius: 4px;
    padding: 8px 8px 0 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

#date-rows .row-icons.col-lg-1 {
    padding-left: 25px;
    padding-right: 0;
}
#date-rows .row-icons {
    text-align: center;
}

#date-rows .date-row {
    padding: 8px;
    border-radius: 4px;
    background-color: var(--hh-background-color-main);
    overflow: hidden;
    margin-bottom: 8px;
    width: 100%;
}

#date-rows .date-row .row {
    display: flex;
    flex-direction: row;
}

#date-rows .date-row .row > div:first-of-type {
    padding-top: 10px;
}

#date-rows .date-row .row .mb-3 {
    margin-bottom: 0;
}

#date-rows .select2-container--humhub .select2-selection {
    padding-right: 20px;
}

#date-rows .select2-selection__clear {
    margin: 0;
    float: initial;
    position: absolute;
    right: 10px;
    top: 8px;
}

[data-bs-theme="dark"] #ui-datepicker-div.ui-datepicker .ui-datepicker-prev span,
[data-bs-theme="dark"] #ui-datepicker-div.ui-datepicker .ui-datepicker-next span {
    opacity: 0.85;
    filter: brightness(0) invert(1);
}

[data-bs-theme="dark"] #ui-datepicker-div.ui-datepicker .ui-datepicker-prev:hover span,
[data-bs-theme="dark"] #ui-datepicker-div.ui-datepicker .ui-datepicker-next:hover span {
    opacity: 1;
}
