/* DarFindr account calendar sidebar styles: actions and detail cards. */


.df-calendar-date-edit-wrap > summary {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(45, 28, 15, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .68);
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.df-calendar-date-edit-wrap > summary::-webkit-details-marker {
    display: none;
}

.df-calendar-date-edit-wrap > summary::before {
    content: "\270E";
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
}

.df-calendar-date-edit-wrap > summary:hover,
.df-calendar-date-edit-wrap > summary:focus-visible {
    border-color: rgba(177, 111, 58, .28);
    background: rgba(177, 111, 58, .1);
    color: var(--color-primary);
    outline: none;
    transform: translateY(-1px);
}

.df-calendar-date-edit {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: end;
    width: min(460px, calc(100vw - 56px));
    padding: 14px;
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 18px;
    background: rgba(255, 252, 248, .96);
    box-shadow: 0 24px 70px rgba(17, 12, 8, .22);
    backdrop-filter: blur(18px);
}

.df-calendar-date-edit-wrap:not([open]) .df-calendar-date-edit {
    display: none;
}

.df-calendar-date-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(177, 111, 58, .16);
    border-radius: 8px;
    background: rgba(177, 111, 58, .07);
}

.df-calendar-date-request-actions button:last-child {
    border: 1px solid rgba(45, 28, 15, .1);
    background: rgba(255, 255, 255, .74);
    color: var(--color-text);
}

.df-calendar-date-edit label {
    display: grid;
    gap: 4px;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 850;
}

.df-calendar-date-edit input {
    min-height: 42px;
    width: 100%;
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 11px;
    background: rgba(255, 255, 255, .82);
    color: var(--color-text);
    font: inherit;
    font-size: 13px;
}

.df-calendar-date-edit button {
    display: grid;
    width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #1f160f;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
}

.df-calendar-date-edit button::before {
    content: "\2713";
    font-size: 17px;
    line-height: 1;
}

.df-host-calendar-aside {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.df-host-calendar-side-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(45, 28, 15, .075);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(45, 28, 15, .045);
}

.df-host-mini-calendar {
    gap: 14px;
}

.df-host-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px 6px;
}

.df-host-mini-grid.is-weekdays {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 850;
}

.df-host-mini-grid > span,
.df-host-mini-grid > a {
    display: grid;
    min-height: 28px;
    place-items: center;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.df-host-mini-grid > span.is-muted,
.df-host-mini-grid > a.is-muted {
    color: rgba(45, 28, 15, .28);
}

.df-host-mini-grid > span.is-today,
.df-host-mini-grid > a.is-today {
    background: transparent;
    color: var(--color-text);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.df-host-mini-grid > .is-selected {
    color: var(--color-text);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(177, 111, 58, .74);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.df-host-mini-grid > a:hover {
    background: rgba(177, 111, 58, .1);
}

.df-host-mini-grid > span i,
.df-host-mini-grid > a i {
    display: flex;
    gap: 2px;
    height: 5px;
    margin-top: 2px;
}

.df-host-mini-grid > span b,
.df-host-mini-grid > a b,
.df-host-calendar-side-list i {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.df-host-mini-grid > span b.is-pending,
.df-host-mini-grid > a b.is-pending {
    background: #e5a163;
}

.df-host-mini-grid > span b.is-confirmed,
.df-host-mini-grid > a b.is-confirmed,
.df-host-calendar-side-list i.is-confirmed {
    background: #4aa36f;
}

.df-host-mini-grid > span b.is-blocked,
.df-host-mini-grid > a b.is-blocked {
    background: #6b7280;
}

.df-host-calendar-side-list {
    display: grid;
    gap: 12px;
}

.df-host-calendar-side-list span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
}

.df-host-calendar-side-list em {
    grid-column: 2;
    color: var(--color-muted);
    font-size: 12px;
    font-style: normal;
}

.df-host-calendar-side-list button {
    justify-self: start;
}

.df-host-calendar-side-dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    margin: 0;
    font-size: 13px;
}

.df-host-calendar-side-dl dt {
    color: var(--color-muted);
}

.df-host-calendar-side-dl dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 850;
}

.df-host-calendar-side-card > h3 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading, Georgia, serif);
    font-size: 18px;
}

.df-host-calendar-side-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

.df-host-calendar-legend,
.df-host-calendar-upcoming {
    display: grid;
    gap: 9px;
}

.df-host-calendar-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 850;
}

.df-host-calendar-legend i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.df-host-calendar-legend i.is-pending {
    background: #e5a163;
}

.df-host-calendar-legend i.is-confirmed {
    background: #4aa36f;
}

.df-host-calendar-legend i.is-blocked {
    background: #6b7280;
}

.df-host-calendar-upcoming button {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .58);
    color: var(--color-text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.df-host-calendar-upcoming button:hover,
.df-host-calendar-upcoming button.is-active {
    border-color: rgba(190, 125, 78, .38);
    background: rgba(255, 247, 239, .88);
}

.df-host-calendar-upcoming strong,
.df-host-calendar-upcoming small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-host-calendar-upcoming strong {
    font-size: 13px;
}

.df-host-calendar-upcoming small {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 750;
}

.df-calendar-modal-open {
    overflow: hidden;
}

.df-calendar-details {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    place-items: stretch end;
    padding: 8px;
    background: rgba(17, 12, 8, .24);
    backdrop-filter: blur(3px);
}

.df-calendar-details.is-open {
    display: grid;
}

.df-calendar-detail-close {
    position: fixed;
    top: 28px;
    right: 30px;
    z-index: 100002;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(45, 28, 15, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .86);
    color: var(--color-text);
    cursor: pointer;
    font-size: 0;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
