/**
 * HuddleSuite Events Calendar Styles
 *
 * Mobile-first, 5 color shades per society theme.
 * Prefix: hs- (consistent with main.css)
 */

/* =========================================================================
   COLOR SHADES PER THEME
   Shade 1 = darkest (date sidebar), Shade 5 = lightest
   Cards rotate via event_id % 5
   ========================================================================= */

/* --- Yellow --- */
.hs-theme-yellow .hs-event-card { background: #FFFFFF; }

/* --- Green --- */
.hs-theme-green .hs-event-card { background: #FFFFFF; }

/* --- Pink --- */
.hs-theme-pink .hs-event-card { background: #FFFFFF; }

/* --- Cyan --- */
.hs-theme-cyan .hs-event-card { background: #FFFFFF; }

/* --- Violet (default) --- */
.hs-theme-violet .hs-event-card { background: #FFFFFF; }

/* Magenta — demo society only (brand #FA06C6). Mirrors the violet rules. */
.hs-theme-magenta .hs-event-card { background: #FFFFFF; }
.hs-event-public-card.hs-theme-magenta { --acc: #FA06C6; }
.hs-theme-magenta .hs-event-card.hs-event-series { background: #F7C6EC; }
.hs-theme-magenta .hs-event-modal-content { background: #FFFFFF; }


/* =========================================================================
   CALENDAR CONTAINER
   ========================================================================= */

.hs-events-calendar {
    background: #E1E3EB;
    border-radius: 10px;
    padding: 20px;
}

.hs-event-card.hs-filtered-out {
    display: none !important;
}


/* =========================================================================
   ACTIONS BAR
   ========================================================================= */

.hs-events-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hs-events-pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DF306D;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}


/* =========================================================================
   EVENT CARDS
   ========================================================================= */

.hs-events-list,
.hs-events-public {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hs-event-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 4px solid #000;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.hs-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hs-event-card:active {
    transform: scale(0.98);
}

.hs-event-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #000;
}

.hs-event-location {
    font-size: 14px;
    color: #000;
}

.hs-event-participants {
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
    color: #000;
}

/* Status badge (pending events for admin) */
.hs-event-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
    width: fit-content;
}

.hs-event-status-pending {
    background: rgba(0, 0, 0, 0.15);
    color: #000;
}


/* =========================================================================
   PAST EVENTS
   ========================================================================= */

.hs-event-card.hs-event-past {
    display: none;
}

/* Search filter also has to reach the new tile shape (.hs-ev-card, built by
   events.js renderEvents). Without this the filter would hide nothing, because
   the rule below only knows the old card. */
.hs-ev-card.hs-filtered-out {
    display: none !important;
}


/* =========================================================================
   PUBLIC EVENTS (non-members)
   ========================================================================= */

/* --- Public event card (öKachel) — redesigned 14.07.2026 -------------------
   White card, society-colored band on top, big 3-line date, subtle gradient.
   Fully namespaced (.hs-oe-*) so it never collides with internal member cards. */
.hs-event-card.hs-event-public-card {
    --acc: #7F3884; /* default violet; per-theme override below */
    cursor: default;
    opacity: 1;
    border: 4px solid #000;
    border-radius: 12px;
    overflow: hidden;
    background: #fff; /* fallback if color-mix() unsupported */
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--acc) 14%, #fff) 100%);
}

.hs-event-card.hs-event-public-card:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Accent colour per society theme (class sits on the card itself) */
.hs-event-public-card.hs-theme-yellow { --acc: #8B6914; }
.hs-event-public-card.hs-theme-green  { --acc: #60D34F; }
.hs-event-public-card.hs-theme-pink   { --acc: #FF6613; }
.hs-event-public-card.hs-theme-cyan   { --acc: #0AB5FF; }
.hs-event-public-card.hs-theme-violet { --acc: #9E80E8; }

/* Colored band with the society name */
.hs-oe-society {
    padding: 13px 16px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .01em;
    color: #fff;
    background: var(--acc);
    border-bottom: 2px solid #000;
}

.hs-oe-body { padding: 15px 16px 6px; }

.hs-oe-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #000;
}

/* Date as three tight stacked lines */
.hs-oe-date { display: flex; flex-direction: column; gap: 1px; margin: 0 0 10px; }
.hs-oe-pre  { font-size: 14px; font-weight: 600; color: #3a3a42; }
.hs-oe-big  { font-size: 29px; font-weight: 800; color: #000; letter-spacing: -.01em; line-height: 1.04; font-variant-numeric: tabular-nums; }
.hs-oe-post { font-size: 15px; font-weight: 600; color: #3a3a42; font-variant-numeric: tabular-nums; }

/* Place: venue on top, city (+ district) underneath. Address stays out of the card. */
.hs-oe-where { display: flex; align-items: flex-start; gap: 7px; font-size: 15px; font-weight: 600; color: #222; }
.hs-oe-where svg { flex: none; margin-top: 3px; }
.hs-oe-place { display: flex; flex-direction: column; gap: 1px; }
.hs-oe-venue { font-size: 15px; font-weight: 700; color: #000; }
.hs-oe-city  { font-size: 14px; font-weight: 600; color: #3a3a42; }

/* "Mehr erfahren" footer link */
.hs-oe-more {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; margin-top: 10px;
    border-top: 2px solid #000;
    font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    color: var(--acc); text-decoration: none;
    background: transparent;
}
.hs-oe-more:hover { background: rgba(0, 0, 0, .04); }
.hs-oe-arw { transition: transform .15s ease; }
.hs-oe-more:hover .hs-oe-arw { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hs-oe-arw { transition: none; } }

.hs-events-public-hint {
    text-align: center;
    padding: 12px 0 0;
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

.hs-events-public-hint a {
    color: #0B0B0D;
    font-weight: 600;
}

/* Public events section (standalone page) */
.hs-public-events-section {
    background: #E1E3EB;
    border-radius: 10px;
    padding: 20px;
}

.hs-public-events-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #000;
    text-transform: uppercase;
}

.hs-public-events-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Public event cards need theme wrapper for color shades */
.hs-public-events-grid .hs-event-card {
    position: relative;
}

/* Public events on society page (own container for non-members) */
.hs-society-public-events {
    margin-top: 16px;
    padding: 20px 24px;
    background: #E1E3EB;
    border-radius: 10px;
}

.hs-society-public-events .hs-public-events-title {
    font-size: 20px;
    margin-bottom: 12px;
}


/* =========================================================================
   ADMIN EVENTS TABLE
   ========================================================================= */

.hs-events-admin-tab .hs-table {
    font-size: 14px;
}

.hs-row-past {
    opacity: 0.5;
}

/* Sortable column header */
.hs-sortable {
    user-select: none;
}

.hs-sortable:hover {
    background: rgba(0,0,0,0.05);
}

.hs-sort-icon {
    font-size: 10px;
    margin-left: 4px;
    color: #999;
}

/* Checkbox column */
.hs-event-checkbox,
#hs-select-all-events {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Bulk actions bar */
.hs-bulk-actions {
    display: flex;
    align-items: center;
}

.hs-row-cancelled {
    background: #F9D6D6 !important;
}

.hs-row-cancelled td {
    text-decoration: line-through;
    color: #999;
}

.hs-row-cancelled .hs-status-badge,
.hs-row-cancelled .hs-actions-cell,
.hs-row-cancelled .hs-serie-label {
    text-decoration: none;
}

.hs-past-toggle {
    color: #666;
    font-weight: 400;
}

.hs-actions-cell {
    white-space: nowrap;
}

.hs-actions-cell .hs-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
    text-decoration: underline;
    color: #000;
}

.hs-actions-cell .hs-action-danger {
    color: #dc3232;
}

.hs-actions-cell .hs-action-separator {
    color: #999;
    margin: 0 2px;
}

.hs-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hs-status-active {
    background: #D0EDDB;
    color: #10A248;
}

.hs-status-pending {
    background: #FDE79C;
    color: #8B6914;
}

.hs-status-blocked {
    background: #F9D6E1;
    color: #dc3232;
}


/* =========================================================================
   CANCELLED EVENT STYLES
   ========================================================================= */

/* Cancelled event cards in calendar */
.hs-event-card.hs-event-cancelled {
    background: #F9D6D6 !important;
    cursor: default;
    position: relative;
}

.hs-event-card.hs-event-cancelled .hs-event-title {
    text-decoration: line-through;
}

.hs-event-status-badge.hs-event-status-cancelled {
    display: inline-block;
    background: #dc3232;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hs-event-status-badge.hs-event-status-pending {
    display: inline-block;
    background: #FDE79C;
    color: #8B6914;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* =========================================================================
   SERIES EVENT STYLES
   ========================================================================= */

/* Series event cards in calendar - darker shade */
.hs-theme-yellow .hs-event-card.hs-event-series { background: #FBDF7A; }
.hs-theme-green .hs-event-card.hs-event-series { background: #A3D9B5; }
.hs-theme-pink .hs-event-card.hs-event-series { background: #F0A8BD; }
.hs-theme-cyan .hs-event-card.hs-event-series { background: #8DD8F7; }
.hs-theme-violet .hs-event-card.hs-event-series { background: #CDB3CF; }

/* Series row in events table - slightly darker background */
.hs-row-series {
    background: rgba(0, 0, 0, 0.04);
}

/* Series info box in edit modal */
.hs-series-info {
    margin: 8px 0;
}

/* Divider before series section in form */
.hs-event-series-divider {
    border-top: 1px solid #ddd;
    margin: 12px 0 8px;
}

/* Clickable participant count in events table */
.hs-open-participants-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B0B0D;
    color: #fff;
    border: none;
    border-radius: 12px;
    min-width: 40px;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
}

.hs-open-participants-modal:hover {
    background: #5C2860;
    color: #fff;
}

.hs-participants-table {
    margin: 0;
    font-size: 13px;
    background: #fff;
    border-radius: 6px;
}

.hs-participants-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
}

.hs-participants-table td {
    padding: 6px 10px;
    font-size: 13px;
}


/* =========================================================================
   EMPTY STATE
   ========================================================================= */

.hs-events-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 15px;
}

.hs-events-loading {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 14px;
}


/* =========================================================================
   EVENT DETAIL MODAL
   ========================================================================= */

.hs-event-modal-content {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* The <form> sits between modal-content and modal-body/footer.
   Without flex layout on the form, the body cannot shrink and scroll. */
.hs-event-modal-content form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.hs-event-modal-content .hs-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.hs-event-modal-content .hs-modal-footer {
    flex-shrink: 0;
}

/* Modal theme background colors */
.hs-theme-yellow .hs-event-modal-content { background: #FFFFFF; }
.hs-theme-green .hs-event-modal-content { background: #FFFFFF; }
.hs-theme-pink .hs-event-modal-content { background: #FFFFFF; }
.hs-theme-cyan .hs-event-modal-content { background: #FFFFFF; }
.hs-theme-violet .hs-event-modal-content { background: #FFFFFF; }

/* Event info inside modal */
.hs-event-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hs-event-detail-row {
    display: flex;
    gap: 8px;
}

.hs-event-detail-label {
    font-weight: 700;
    min-width: 100px;
    font-size: 14px;
    color: #333;
}

.hs-event-detail-value {
    font-size: 14px;
    color: #000;
}

.hs-event-detail-description {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    padding: 10px 0;
    border-top: 1px solid #E1E3EB;
    margin-top: 4px;
}

/* Participant list in modal */
.hs-event-participants-section {
    margin-top: 16px;
    border-top: 2px solid #E1E3EB;
    padding-top: 16px;
}

.hs-event-participants-header {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #000;
}

.hs-event-participant-list {
    list-style: decimal;
    padding: 0 0 0 24px;
    margin: 0;
}

.hs-event-participant-list li {
    padding: 6px 0;
    border-radius: 0;
    font-size: 14px;
    border-bottom: 1px solid #fff;
}

.hs-event-participant-list li:last-child {
    border-bottom: none;
}

.hs-event-participant-list li:nth-child(odd) {
    background: transparent;
}

.hs-event-participant-list li:nth-child(even) {
    background: transparent;
}

.hs-event-participant-name {
    font-weight: 600;
}

.hs-event-participant-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.hs-event-empty-slot {
    color: #aaa;
    font-style: italic;
}

/* Registered names after row 20 hide until the word link opens them
   (19.07.2026). jQuery .show() sets an inline style and wins. */
.hs-participant-overflow {
    display: none;
}

/* Admin: remove participant button */
.hs-remove-participant {
    background: none;
    border: none;
    color: #dc3232;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 6px;
    line-height: 1;
    vertical-align: middle;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hs-remove-participant:hover {
    opacity: 1;
}

/* Unregistered section */
.hs-event-unregistered-section {
    margin-top: 12px;
    opacity: 0.6;
}

.hs-event-unregistered-header {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 0 0 6px 0;
}

.hs-event-unregistered-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hs-event-unregistered-list li {
    padding: 4px 12px;
    font-size: 13px;
    color: #888;
    text-decoration: line-through;
}

/* Registration form in modal */
.hs-event-register-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #E1E3EB;
}

.hs-event-register-section .hs-form-group {
    margin-bottom: 12px;
}

.hs-event-register-section label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.hs-event-register-section .hs-input {
    width: 100%;
    box-sizing: border-box;
}

.hs-event-past-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* Edit footer in modal */
.hs-event-edit-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #E1E3EB;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .hs-event-edit-footer {
        flex-direction: column;
    }

    .hs-event-edit-footer .hs-btn {
        width: 100%;
    }
}


/* =========================================================================
   CREATE / EDIT EVENT MODAL
   ========================================================================= */

.hs-form-row {
    display: flex;
    gap: 12px;
}

.hs-form-half {
    flex: 1;
}

.hs-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.hs-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hs-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}


/* =========================================================================
   RESPONSIVE - DESKTOP
   ========================================================================= */

@media (min-width: 768px) {
    .hs-events-list,
    .hs-events-public,
    .hs-public-events-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hs-events-list .hs-event-card,
    .hs-events-public .hs-event-card,
    .hs-public-events-grid .hs-event-card {
        width: calc(33.33% - 8px);
    }

    .hs-events-list .hs-events-empty,
    .hs-events-list .hs-events-loading,
    .hs-events-public .hs-events-empty,
    .hs-events-public .hs-events-loading,
    .hs-events-public .hs-events-public-hint {
        width: 100%;
    }

    .hs-event-title {
        font-size: 18px;
    }
}


/* =========================================================================
   RESPONSIVE - MOBILE TWEAKS
   ========================================================================= */

@media (max-width: 767px) {
    .hs-events-calendar {
        padding: 12px;
    }

    /* Event modal on mobile - inherits scrollable overlay from main.css */
    .hs-event-modal-content {
        width: 92%;
        max-width: 550px;
        border-radius: 12px;
        overflow: visible;
    }

    /* On mobile, let the form grow naturally. The overlay (.hs-modal) scrolls. */
    .hs-event-modal-content form {
        overflow: visible;
    }

    .hs-event-modal-content .hs-modal-body {
        max-height: none;
        overflow: visible;
    }

    .hs-form-row {
        flex-direction: column;
        gap: 0;
    }

    .hs-event-detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .hs-event-detail-label {
        min-width: auto;
    }
}

/* =========================================================================
   PUBLIC EVENTS FILTERS
   ========================================================================= */

.hs-public-events-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    max-width: 560px;
}

.hs-public-events-filters .hs-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.hs-public-events-filters .hs-filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: #4a4a52;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 2px;
}

.hs-filter-select {
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 14px !important;
    cursor: pointer;
}

.hs-filter-select:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25) !important;
}

/* Keyword search on event titles - same look as the filter dropdowns */
.hs-filter-search {
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 14px !important;
    width: 100%;
}

.hs-filter-search:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25) !important;
}

.hs-public-events-empty-filter {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #4a4a52;
}

/* No events message */
.hs-no-events-text {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px 20px;
}

/* Hidden cards (filtered out) */
.hs-event-card.hs-filtered-out {
    display: none !important;
}

@media (max-width: 600px) {
    .hs-public-events-filters {
        flex-direction: column;
        gap: 10px;
    }

    .hs-public-events-filters .hs-filter-group {
        min-width: 100%;
    }
}

/* --------------------------------------------------------------------------
   iCal calendar subscription (added 07/2026)
   -------------------------------------------------------------------------- */
.hs-events-ical {
    margin: 4px 0 14px;
    font-size: 13px;
}

.hs-events-ical-link {
    color: #333 !important;
    font-weight: 700;
    text-decoration: underline !important;
    font-size: 13px;
}

.hs-events-ical-link:hover {
    color: #000 !important;
}

.hs-events-ical-help {
    margin-top: 6px;
    color: #555;
}

.hs-events-ical-help summary {
    cursor: pointer;
    font-size: 12px;
    color: #777;
}

.hs-events-ical-help p {
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.5;
}

.hs-events-ical-help code {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    word-break: break-all;
    user-select: all;
    -webkit-user-select: all;
}

.hs-public-reg-status {
    font-size: 13px;
    font-weight: 700;
}

.hs-public-reg-registered {
    color: #10A248;
}

.hs-public-register-btn,
.hs-public-unregister-btn {
    white-space: nowrap;
}

.hs-event-card.hs-event-shared {
    border: 2px dashed rgba(0, 0, 0, 0.25);
}

.hs-event-participant-society {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.hs-event-coop-guest-notice {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: #555;
}

/* =========================================================================
   COOPERATIONS: ADMIN DASHBOARD TAB (added 4.8.0)
   ========================================================================= */

.hs-coop-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hs-coop-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fafafa;
}

.hs-coop-item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.hs-coop-partner-name {
    font-size: 15px;
}

.hs-coop-item-header .hs-coop-end-btn {
    margin-left: auto;
}

.hs-coop-item-settings {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.hs-coop-outgoing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hs-share-partner-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Mobile */
@media (max-width: 600px) {
    .hs-coop-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hs-coop-item-header .hs-coop-end-btn {
        margin-left: 0;
    }
}
