/* Admin action toolbar — mobile-only redesign (event detail page).
   Scope: max-width 767px only. Desktop/tablet keep the original toolbar
   markup untouched (.event-admin-toolbar-desktop). This file only styles
   the mobile-only markup block (.event-admin-toolbar-mobile / .aam-*). */
@media (max-width: 767px) {

    .aam-toprow {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 14px;
        margin-top: -0.9rem;
    }

    .aam-back-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 44px;
        color: #1a56db;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }
    .aam-back-link:hover,
    .aam-back-link:focus-visible { color: #1a56db; text-decoration: underline; }

    .aam-views-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-left: auto;
        background: #eef1f6;
        color: #4b5563;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.4;
    }

    /* ---- Διαχείριση card ---- */
    .aam-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border: 1px solid #e3e7ee;
        border-radius: 14px;
        background: #fbfcfd;
        padding: 14px;
        margin: 12px 14px;
    }

    .aam-card-header {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .aam-card-label {
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: #8a93a3;
        font-weight: 600;
    }
    .aam-status-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        font-size: 12px;
        font-weight: 600;
    }
    .aam-status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9ca3af;
        flex-shrink: 0;
    }
    .aam-status-badge.is-visible { color: #0f7a3d; }
    .aam-status-badge.is-visible .aam-status-dot { background: #16a34a; }
    .aam-status-badge.is-hidden { color: #6b7280; }

    /* ---- Buttons ---- */
    .aam-btn-primary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 46px;
        border-radius: 11px;
        border: none;
        background: #1a56db;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
    }
    .aam-btn-primary:hover,
    .aam-btn-primary:focus-visible { background: #1747b8; color: #fff; }

    .aam-btn-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .aam-btn-secondary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        height: 42px;
        border-radius: 11px;
        border: 1px solid #d7dce5;
        background: #fff;
        color: #374151;
        font-size: 14px;
        font-weight: 500;
    }
    .aam-btn-secondary:hover,
    .aam-btn-secondary:focus-visible { border-color: #b7bfcc; background: #f8f9fb; color: #374151; }

    /* ---- Footer: sharing chips + delete ---- */
    .aam-card-footer {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        border-top: 1px solid #eaedf3;
        padding-top: 10px;
    }
    .aam-share-label { font-size: 13px; color: #6b7280; }

    .aam-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 5px 11px;
        border: 1px solid #d7dce5;
        border-radius: 8px;
        background: #fff;
        color: #374151;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .15s, border-color .15s, color .15s;
    }
    .aam-chip input {
        position: absolute;
        width: 1px; height: 1px;
        padding: 0; margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        border: 0;
    }
    .aam-chip:has(input:checked) {
        background: #1a56db;
        border-color: #1a56db;
        color: #fff;
    }

    .aam-delete-form { margin-left: auto; }
    .aam-delete-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        background: none;
        border: none;
        padding: 0;
        color: #b91c1c;
        font-size: 13px;
        font-weight: 500;
    }
    .aam-delete-link:hover,
    .aam-delete-link:focus-visible { color: #991b1b; text-decoration: underline; }
}
