/*!
 * BA.UI Framework — Toast
 * Visual layer for bootstrap-notify toasts rendered with the .ba-toast class (see getTemplateToastMessage in js/site.js),
 * and the content blocks used inside them (.ba-toast-demand: group reservation request).
 * Layout-critical properties (position, z-index, transitions) stay inline in the template because the plugin positions it.
 * On mobile css/mobile-toast.css additionally pins every toast to the bottom of the screen.
 */

/* ---- Card ---- */
.alert--notify.ba-toast {
    width: 380px;
    max-width: calc(100vw - 30px);
    padding: 16px 44px 16px 16px !important;
    background: #353E48 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
}

.ba-toast [data-notify="message"] {
    font-size: 14px;
    color: #ffffff;
}

.ba-toast [data-notify="title"]:empty,
.ba-toast [data-notify="url"] {
    display: none;
}

.ba-toast .alert--notify__close {
    top: 12px !important;
    right: 12px !important;
    min-width: 32px;
    min-height: 32px;
}

.ba-toast .alert--notify__close i {
    float: none !important;
    color: #ffffff !important;
    opacity: 0.7;
}

.ba-toast .alert--notify__close:hover i {
    opacity: 1;
}

/* ---- Content: new group reservation request ---- */
.ba-toast-demand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.ba-toast-demand__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 18px;
}

.ba-toast-demand__body {
    flex: 1;
    min-width: 0;
}

.ba-toast-demand__title {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.ba-toast-demand__row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.ba-toast-demand__row > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ba-toast-demand__row i {
    flex-shrink: 0;
    font-size: 12px;
    opacity: 0.75;
}

.ba-toast-demand__row--time {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
}
