/* "Μοιράσου το" share section — event detail page.
   Scope: this section's markup only, all viewports (icon-only squares,
   wrapping on narrow widths). Classes are share-prefixed; no existing
   .btn* class is touched. */

.share-card {
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.share-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
    flex: 0 0 auto;
    cursor: pointer;
    transition: filter 120ms ease, box-shadow 120ms ease;
}
.share-btn svg { width: 20px; height: 20px; fill: currentColor; }

.share-btn:hover {
    filter: brightness(.93);
    box-shadow: 0 4px 12px rgba(17,24,39,.18);
}
.share-btn:focus-visible {
    outline: 2px solid #1a56db;
    outline-offset: 2px;
}
.share-btn:active { filter: brightness(.88); }

.share-btn-facebook { background: #1877f2; }
.share-btn-instagram { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%); }
.share-btn-x { background: #0f1419; }
.share-btn-viber { background: #7360f2; }
.share-btn-email { background: #5b6673; }
.share-btn-copy { background: #2f3946; }

.share-toast {
    font-size: 13px;
    color: #0f7a3d;
    font-weight: 500;
}
.share-toast[hidden] { display: none; }

@media (max-width: 767px) {
    /* Slightly tighter padding/gap so all six squares still fit on one
       row on typical phone widths instead of wrapping. */
    .share-card { padding: 14px 12px; }
    .share-row { gap: 8px; }
}

/* =================================== */
/* "Πρόσθεσέ το στο ημερολόγιο" — same visual language as the share
   buttons above. Desktop renders it as its own stacked card; mobile
   merges it with the share card into one box with a divider, so the
   two related actions don't scatter into many separate rows at the
   bottom of the page. Scope: this section's markup only. */
/* =================================== */

.cal-card {
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cal-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.cal-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cal-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
    flex: 0 0 auto;
    cursor: pointer;
    transition: filter 120ms ease, box-shadow 120ms ease;
}
.cal-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cal-btn:hover {
    filter: brightness(.93);
    box-shadow: 0 4px 12px rgba(17,24,39,.18);
}
.cal-btn:focus-visible {
    outline: 2px solid #1a56db;
    outline-offset: 2px;
}
.cal-btn:active { filter: brightness(.88); }

.cal-btn-google { background: #fff; border: 1px solid #dadce0; }
.cal-btn-outlook { background: #0f6cbd; }
.cal-btn-apple { background: #111111; }
.cal-btn-ics { background: #2f3946; }

/* Desktop (>=768px): calendar card + share card stacked as a pair. */
@media (min-width: 768px) {
    .cal-share-stack-desktop {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}

/* Mobile (<768px): merged into one card, two padded blocks + divider. */
@media (max-width: 767px) {
    .cal-share-merged-mobile {
        border: 1px solid #dfe3ea;
        border-radius: 14px;
        overflow: hidden;
    }
    .cal-share-block { padding: 15px; }
    .cal-share-block .cal-title { font-size: 14.5px; }
    .cal-share-divider {
        height: 1px;
        background: #eef0f4;
    }
}

@media (max-width: 359.98px) {
    .cal-btn, .share-btn { width: 42px; height: 42px; }
    .cal-row, .share-row { gap: 8px; }
}
