.bs-day-collector-view {
    padding: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

.bs-day-brand-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 0 1.1rem;
}

.bs-day-brand-bar .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bs-day-brand-bar .custom-logo {
    display: block;
    max-width: 108px;
    width: auto;
    height: auto;
}

.bs-day-brand-fallback-logo {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.bs-day-brand-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.bs-day-collector-view-error {
    max-width: 680px;
}

.bs-day-collector-view-auth {
    max-width: 560px;
}

.bs-day-offline-banner {
    display: none;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid #f59e0b;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 12px 26px rgba(154, 52, 18, 0.1);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.bs-day-offline-banner.is-visible {
    display: block;
}

.bs-day-offline-banner.is-snapshot {
    border-color: #f87171;
    background: #fef2f2;
    color: #991b1b;
}

.bs-day-offline-banner.is-polling {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}

.bs-day-offline-banner.is-restored {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.bs-day-collector-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.bs-day-collector-header h2 {
    margin: 0 0 0.45rem;
    font-size: 1.55rem;
    letter-spacing: 0.2px;
    color: #ffffff;
    text-align: center;
}

.bs-day-collector-date {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
}

.bs-day-collector-date-form {
    margin: 0.2rem auto 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
}

.bs-day-collector-date-form label {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    white-space: nowrap;
}

.bs-day-collector-date-form select {
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    min-width: 170px;
}

.bs-day-collector-actions-bar {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.bs-day-collector-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bs-day-collector-filter-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bs-day-collector-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.bs-day-collector-filter-form label {
    font-size: 0.9rem;
    font-weight: 600;
}

.bs-day-collector-filter-form select {
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    min-width: 170px;
}

.bs-day-refresh-btn,
.bs-day-install-btn,
.bs-day-bell-btn {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bs-day-refresh-btn,
.bs-day-install-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    line-height: 1;
}

.bs-day-bell-btn {
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    gap: 0.42rem;
    font-size: 0.83rem;
    font-weight: 700;
}

.bs-day-refresh-btn:hover,
.bs-day-install-btn:hover,
.bs-day-bell-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.82);
}

.bs-day-bell-btn.is-active {
    background: rgba(255, 255, 255, 0.28);
}

.bs-day-bell-icon {
    line-height: 1;
}

.bs-day-bell-label {
    display: block;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
}

.bs-day-action-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bs-day-action-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bs-day-install-icon--app {
    display: none;
}

.bs-day-install-btn.is-app-mode .bs-day-install-icon--install {
    display: none;
}

.bs-day-install-btn.is-app-mode .bs-day-install-icon--app {
    display: inline-flex;
}

.bs-day-install-btn.is-app-mode {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.82);
}

.bs-day-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bs-day-collector-view.is-offline-readonly .bs-day-mark-paid[disabled],
.bs-day-collector-view.is-offline-readonly .bs-day-mark-series-paid[disabled],
.bs-day-collector-view.is-offline-readonly #bs-day-paid-modal [data-modal-confirm="1"][disabled],
.bs-day-collector-view.is-offline-readonly #bs-day-paid-modal [data-modal-cancel="1"][disabled],
.bs-day-collector-view.is-offline-readonly #bs-day-paid-modal [data-modal-close="1"][disabled],
.bs-day-collector-view.is-offline-readonly #bs-day-modal-paid-password[disabled],
.bs-day-collector-view.is-offline-readonly [data-modal-paid-password-toggle="1"][disabled] {
    opacity: 0.58;
    cursor: not-allowed;
    box-shadow: none;
}

.bs-day-header-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1;
}

.bs-day-empty-card {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 1.15rem;
    text-align: center;
    color: #334155;
}

.bs-day-empty-card h3 {
    margin: 0 0 0.45rem;
}

.bs-day-password-card {
    text-align: left;
}

.bs-day-password-form {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.6rem;
}

.bs-day-password-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

.bs-day-password-input-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.bs-day-password-form input[type="password"],
.bs-day-password-form input[type="text"] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
}

.bs-day-password-toggle {
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    line-height: 1;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bs-day-password-toggle:hover {
    background: #f8fafc;
}

.bs-password-eye-icon { display: none; margin: 0; line-height: 1; }
.bs-password-eye-icon svg { display: block; }
.bs-day-password-toggle .bs-password-eye-icon-closed { display: block; }
.bs-day-password-toggle.is-visible .bs-password-eye-icon-closed { display: none; }
.bs-day-password-toggle.is-visible .bs-password-eye-icon-open { display: block; }

.bs-day-password-btn {
    background: #0f766e;
    color: #ffffff;
}

.bs-day-password-btn:hover {
    background: #115e59;
}

.bs-day-collector-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bs-day-collector-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-day-collector-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #cbd5e1;
}

.bs-day-collector-card[data-status="pending"]::before {
    background: #cbd5e1;
}

.bs-day-collector-card[data-status="confirmed"]::before {
    background: #3b82f6;
}

.bs-day-collector-card[data-status="cancelled"]::before {
    background: #ef4444;
}

.bs-day-collector-card[data-status="overbooking"]::before {
    background: #f59e0b;
}

.bs-day-collector-card[data-status="paid"]::before {
    background: #10b981;
}

.bs-day-collector-card.is-completed {
    opacity: 0.92;
}

.bs-day-collector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.bs-day-collector-card-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.bs-day-collector-card.is-poll-buzz {
    animation: bs-day-card-buzz 0.78s ease;
}

.bs-day-collector-card-header.is-poll-buzz {
    animation: bs-day-header-glow 0.78s ease;
}

.bs-day-change-badge {
    position: absolute;
    right: 1.05rem;
    bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: calc(100% - 2.2rem);
    padding: 0.28rem 0.7rem;
    border-radius: 10px 10px 6px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateX(120%) scale(0.96);
    transition: opacity 0.22s ease, transform 0.24s ease;
    pointer-events: none;
    z-index: 3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-day-change-badge-slot {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.45rem;
}

.bs-day-change-badge-slot--booking {
    justify-content: flex-start;
    margin-top: 0.15rem;
}

.bs-day-change-badge-slot--standalone {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #e2e8f0;
}

.bs-day-change-badge--inline {
    position: static;
    right: auto;
    bottom: auto;
    max-width: 100%;
    transform: translateY(24%) scale(0.96);
}

.bs-day-change-badge.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: bs-day-badge-buzz 0.64s ease;
}

.bs-day-change-badge--inline.is-visible {
    transform: translateY(0) scale(1);
}

.bs-day-change-badge.is-hiding {
    opacity: 0;
    transform: translateX(12%) scale(0.96);
}

.bs-day-change-badge--inline.is-hiding {
    transform: translateY(-18%) scale(0.96);
}

.bs-day-change-badge.is-new {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.bs-day-change-badge.is-confirmed {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.bs-day-change-badge.is-cancelled {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.bs-day-change-badge.is-paid {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #6ee7b7;
}

.bs-day-change-badge.is-pending {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.bs-day-change-badge.is-time {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #c4b5fd;
}

.bs-day-change-badge.is-area {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.bs-day-change-badge.is-value {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.bs-day-change-badge.is-series {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #c4b5fd;
}

.bs-day-change-badge.is-aggregate {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.bs-day-change-badge.is-data {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.bs-day-collector-header.is-poll-highlight,
.bs-day-header-chip.is-poll-highlight,
.bs-day-collector-filter-form.is-poll-highlight,
#bs-day-status-filter.is-poll-highlight {
    animation: bs-day-surface-pulse 1.5s ease;
}

@keyframes bs-day-card-buzz {
    0% { transform: translateX(0) scale(1); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
    18% { transform: translateX(-3px) scale(1.01); box-shadow: 0 18px 30px rgba(14, 116, 144, 0.18); }
    34% { transform: translateX(3px) scale(1.01); }
    50% { transform: translateX(-2px) scale(1.005); }
    66% { transform: translateX(2px) scale(1.005); }
    100% { transform: translateX(0) scale(1); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
}

@keyframes bs-day-header-glow {
    0% { background: #ffffff; }
    35% { background: #f0fdfa; }
    100% { background: #ffffff; }
}

@keyframes bs-day-surface-pulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 116, 144, 0); }
    30% { box-shadow: 0 0 0 6px rgba(14, 116, 144, 0.12); }
    100% { box-shadow: 0 0 0 0 rgba(14, 116, 144, 0); }
}

@keyframes bs-day-badge-buzz {
    0% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-3px) scale(1.02); }
    50% { transform: translateX(2px) scale(1.01); }
    75% { transform: translateX(-2px) scale(1.01); }
    100% { transform: translateX(0) scale(1); }
}

.bs-day-collector-summary {
    flex: 1;
    display: grid;
    gap: 0.6rem;
}

.bs-day-collector-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.bs-day-collector-name strong {
    font-size: 1.06rem;
    color: #0f172a;
}

.bs-day-summary-title {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.bs-day-summary-title::before {
    content: "\2022";
    color: #475569;
    font-size: 0.95em;
    line-height: 1;
}

.bs-day-summary-title.bs-field-booking_id::before {
    content: "\1F3F7";
}

.bs-day-summary-title.bs-field-booking_id {
    background: #ffffffab;
    border-radius: 999px;
    padding: 0.16rem 0.52rem;
}

.bs-day-summary-title.bs-field-user_name::before {
    content: "\1F464";
}

.bs-day-summary-title.bs-field-time_slot::before {
    content: "\23F0";
}

.bs-day-summary-title.bs-field-space_name::before,
.bs-day-summary-title.bs-field-area_name::before {
    content: "\1F4CD";
}

.bs-day-summary-title.bs-field-payment_amount::before {
    content: "\20AC";
}

.bs-day-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem 0.68rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    background: #f1f5f9;
    color: #334155;
}

.bs-day-status-pending {
    background: #fff6e8;
    color: #915d1a;
    border-color: #f1d8a8;
}

.bs-day-status-confirmed {
    background: #ebf8ef;
    color: #1d6a3c;
    border-color: #bfe4ca;
}

.bs-day-status-cancelled {
    background: #fceded;
    color: #8f2f2f;
    border-color: #efc3c3;
}

.bs-day-status-overbooking {
    background: #fff2e2;
    color: #9c5b10;
    border-color: #efcb9f;
}

.bs-day-status-paid {
    background: #eaf4ff;
    color: #1f568b;
    border-color: #bfd5f0;
}

.bs-day-collector-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.bs-day-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: #eef2ff;
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 0.2rem 0.58rem;
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.2;
}

.bs-day-quick-pill::before {
    content: "\2022";
    color: #334155;
    font-size: 0.9em;
    line-height: 1;
}

.bs-day-quick-pill.bs-field-booking_id::before {
    content: "\1F3F7";
}

.bs-day-quick-pill.bs-field-booking_id {
    background: #ffffffab;
}

.bs-day-quick-pill.bs-field-user_name::before {
    content: "\1F464";
}

.bs-day-quick-pill.bs-field-time_slot::before {
    content: "\23F0";
}

.bs-day-quick-pill.bs-field-payment_amount::before {
    content: "\20AC";
}

.bs-day-quick-pill.bs-field-series_parent_id::before {
    content: "\1F517";
}

.bs-day-quick-pill.bs-field-series_payments_due::before {
    content: "\2714";
}

.bs-day-quick-pill.bs-field-series_usage_due::before {
    content: "\1F4C5";
}

.bs-day-quick-pill.bs-field-series_payment_amount::before {
    content: "\20AC";
}

.bs-day-quick-pill.bs-field-user_email::before {
    content: "\2709";
}

.bs-day-quick-pill.bs-field-booking_date::before {
    content: "\1F4C5";
}

.bs-day-quick-pill.bs-field-origin::before {
    content: "\2192";
}

.bs-day-collector-summary-address {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #0f172a;
    line-height: 1.4;
    font-weight: 400;
}

.bs-day-collector-summary-address-icon {
    flex-shrink: 0;
    line-height: 1.2;
    color: #0284c7;
}

.bs-day-collector-summary-address-text {
    word-break: break-word;
}

.bs-day-series-summary {
    margin-top: 0.15rem;
    padding-top: 0.62rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.bs-day-series-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.3;
}

.bs-day-series-pill::before {
    content: "\2022";
    color: #64748b;
    line-height: 1;
}

.bs-day-series-pill.bs-field-series_parent_id::before {
    content: "\1F517";
}

.bs-day-series-pill.bs-field-series_payments_due::before {
    content: "\2714";
}

.bs-day-series-pill.bs-field-series_usage_due::before {
    content: "\1F4C5";
}

.bs-day-series-pill.bs-field-series_payment_amount::before {
    content: "\20AC";
}

.bs-day-series-label {
    color: #64748b;
    font-weight: 600;
}

.bs-day-series-value {
    color: #0f172a;
    font-weight: 700;
}

.bs-day-collapse-indicator {
    margin-left: 1rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.bs-day-collector-card.is-expanded .bs-day-collapse-indicator {
    transform: rotate(180deg);
}

.bs-day-collector-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bs-day-collector-card.is-expanded .bs-day-collector-card-body {
    max-height: 2400px;
}

.bs-day-collector-card-body > * {
    padding: 1.05rem 1.35rem;
}

.bs-day-collector-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bs-day-collector-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.bs-day-block-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.bs-day-block-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
    align-items: start;
    font-size: 0.9rem;
}

.bs-day-block-row + .bs-day-block-row {
    margin-top: 0.5rem;
}

.bs-day-block-separator {
    height: 1px;
    width: 100%;
    background: #e2e8f0;
    margin: 0.72rem 0;
}

.bs-day-block-label {
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.35;
}

.bs-day-block-value {
    color: #0f172a;
    word-break: break-word;
    line-height: 1.4;
}

.bs-day-block-value-trigger {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #1d4ed8;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 2px;
}

.bs-day-block-value-trigger:hover {
    color: #1e40af;
    text-decoration-color: #60a5fa;
}

.bs-day-block-value-trigger:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
    border-radius: 4px;
}

.bs-day-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.bs-day-item-badge {
    background: #eef2ff;
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    padding: 0.45rem 0.7rem;
    line-height: 1.35;
}

.bs-day-collector-actions {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: grid;
    gap: 0;
}

.bs-day-action-btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 0.68rem 1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.12s ease, opacity 0.12s ease;
}

.bs-day-mark-paid {
    background: #16a34a;
    color: #ffffff;
}

.bs-day-mark-paid:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.bs-day-mark-paid:active {
    transform: translateY(0);
}

.bs-day-action-separator {
    height: 1px;
    background: #dbe3ef;
    margin: 0.3rem 0;
}

.bs-day-mark-series-paid {
    background: #2563eb;
    color: #ffffff;
}

.bs-day-mark-series-paid:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.bs-day-mark-series-paid:active {
    transform: translateY(0);
}

.bs-day-action-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.bs-day-notice {
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
}

.bs-day-notice.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.bs-day-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100001;
    width: min(360px, calc(100vw - 32px));
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bs-day-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bs-day-toast.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 640px) {
    .bs-day-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }
}

body.bs-day-modal-open {
    overflow: hidden;
}

.bs-day-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bs-day-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bs-day-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(2px);
}

.bs-day-modal__dialog {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100vh - 2rem);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 30px 50px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    transform: translateY(14px) scale(0.985);
    transition: transform 0.22s ease;
}

.bs-day-modal.is-open .bs-day-modal__dialog {
    transform: translateY(0) scale(1);
}

.bs-day-modal__close {
    appearance: none;
    border: 0;
    background: #f1f5f9;
    color: #334155;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.bs-day-modal__close:hover {
    background: #e2e8f0;
}

.bs-day-modal__body {
    padding: 1.3rem 1.2rem 1rem;
}

.bs-day-modal__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
}

.bs-day-modal__body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    color: #0f172a;
}

.bs-day-modal__text {
    margin: 0;
    color: #334155;
    line-height: 1.45;
}

.bs-day-modal__amount {
    margin: 0.65rem 0 0;
    color: #0f172a;
    font-weight: 700;
}

.bs-day-modal-password {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.bs-day-modal-password label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.bs-day-modal-password input[type="password"],
.bs-day-modal-password input[type="text"] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
}

.bs-day-modal-password input.is-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.12);
}

.bs-day-modal-password-error {
    display: none;
    margin: 0;
    color: #b91c1c;
    font-size: 0.84rem;
    font-weight: 600;
}

.bs-day-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0 1.2rem 1.2rem;
}

.bs-day-modal__btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    min-height: 48px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.14s ease, opacity 0.14s ease, background 0.2s ease;
}

.bs-day-modal__btn:disabled,
.bs-day-modal__close:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bs-day-modal__btn--ghost {
    background: #f1f5f9;
    color: #0f172a;
}

.bs-day-modal__btn--ghost:hover {
    background: #e2e8f0;
}

.bs-day-modal__btn--primary {
    background: #15803d;
    color: #ffffff;
}

.bs-day-modal__btn--primary:hover {
    background: #166534;
    transform: translateY(-1px);
}

.bs-day-modal--series .bs-day-modal__dialog {
    width: min(100%, 520px);
}

.bs-day-series-modal-list {
    margin-top: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-height: min(56vh, 460px);
    overflow-y: auto;
    background: #ffffff;
}

.bs-day-series-modal-empty {
    padding: 0.95rem 0.9rem;
    color: #64748b;
    font-size: 0.9rem;
}

.bs-day-series-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.68rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.bs-day-series-modal-item:last-child {
    border-bottom: 0;
}

.bs-day-series-modal-main {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.bs-day-series-modal-main strong {
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.35;
}

.bs-day-series-modal-main span {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.3;
}

.bs-day-series-modal-pill {
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.28rem 0.54rem;
}

.bs-day-series-modal-item.is-done .bs-day-series-modal-main strong,
.bs-day-series-modal-item.is-done .bs-day-series-modal-main span {
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.bs-day-series-modal-item.is-done .bs-day-series-modal-pill {
    color: #94a3b8;
    border-color: #e2e8f0;
}

.bs-day-series-modal-item.is-cancelled {
    background: #f8fafc;
}

@media (max-width: 640px) {
    .bs-day-collector-view {
        padding: 0.5rem;
    }

    .bs-day-collector-header {
        padding: 1rem;
    }

    .bs-day-collector-header h2 {
        font-size: 1.25rem;
    }

    .bs-day-collector-date {
        margin: 0.5rem 0;
    }

    .bs-day-collector-actions-bar {
        flex-direction: column;
        align-items: center;
        gap: 1.15rem;
    }

    .bs-day-collector-date-form {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.45rem;
        margin-bottom: 0.4rem;
    }

    .bs-day-collector-date-form select {
        min-width: 180px;
    }

    .bs-day-collector-filter-form {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .bs-day-collector-filter-item {
        width: 100%;
        justify-content: center;
    }

    .bs-day-collector-filter-form select {
        min-width: 180px;
        justify-content: center;
    }

    .bs-day-collector-tools {
        display: flex;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .bs-day-refresh-btn,
    .bs-day-install-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .bs-day-bell-btn {
        min-width: 0;
        max-width: 132px;
        min-height: 42px;
        padding: 0.45rem 0.72rem;
        flex: 0 1 132px;
    }

    .bs-day-header-chip {
        max-width: 100%;
        margin-top: 0.1rem;
    }

    .bs-day-block-row {
        grid-template-columns: 1fr;
    }

    .bs-day-block-label {
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.7rem;
    }

    .bs-day-modal {
        align-items: center;
        justify-content: center;
        padding: 0.75rem;
    }

    .bs-day-modal__dialog {
        width: min(100%, 420px);
        max-height: min(86vh, 720px);
        border-radius: 18px;
        transform: translateY(12px);
    }

    .bs-day-modal__actions {
        grid-template-columns: 1fr;
        padding: 0 1rem 1rem;
    }

    .bs-day-modal__btn {
        min-height: 50px;
        font-size: 0.95rem;
    }

    .bs-day-series-modal-list {
        max-height: min(60vh, 460px);
    }

    .bs-day-series-modal-item {
        padding: 0.64rem 0.7rem;
    }

    .bs-day-series-modal-main strong {
        font-size: 0.92rem;
    }
}
