/* ============================================================
   PROFILE PAGE — Dark Glass Dashboard
   ============================================================ */

/* Override global flex-row layout */
.profile-page .main-content {
    display: block;
    padding: 0;
    min-height: unset;
}

/* ── Layout ─────────────────────────────────────────────── */

.profile-layout {
    display: flex;
    gap: 2rem;
    padding: 6rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* ── Sidebar — Floating Glass Card ──────────────────────── */

.profile-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(178, 120, 255, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 5rem;
    align-self: flex-start;
}

/* ── Profile Header in Sidebar ──────────────────────────── */

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(178, 120, 255, 0.5);
    background: rgba(178, 120, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(178, 120, 255, 0.1), 0 0 30px rgba(178, 120, 255, 0.25);
    margin: 0 auto 1rem;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.profile-avatar:hover {
    box-shadow: 0 0 0 4px rgba(178, 120, 255, 0.2), 0 0 40px rgba(178, 120, 255, 0.4);
    transform: scale(1.04);
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

/* Role as Purple Pill Badge */
.profile-role-badge {
    display: inline-block;
    background: rgba(178, 120, 255, 0.12);
    border: 1px solid rgba(178, 120, 255, 0.3);
    color: #B278FF;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ── Navigation ─────────────────────────────────────────── */

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Nav group label — subtle, not dominant */
.profile-actions-title {
    margin: 1rem 0 0.35rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-left: 0.75rem;
}

.profile-actions-title:first-child {
    margin-top: 0;
}

.action-btn {
    padding: 0.7rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: flex-start;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.action-btn i {
    font-size: 0.85em;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.action-btn:hover {
    background: rgba(178, 120, 255, 0.08);
    color: #B278FF;
    border-color: rgba(178, 120, 255, 0.15);
}

.action-btn:hover i {
    opacity: 1;
}

.action-btn.active {
    background: rgba(178, 120, 255, 0.12);
    color: #B278FF;
    border-color: rgba(178, 120, 255, 0.2);
    font-weight: 600;
}

.action-btn.btn-primary {
    background: rgba(178, 120, 255, 0.1);
    color: #B278FF;
    border-color: rgba(178, 120, 255, 0.2);
}

.action-btn.btn-primary:hover {
    background: rgba(178, 120, 255, 0.18);
}

.action-btn.btn-secondary {
    /* inherits base action-btn */
}

.action-btn.logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: rgba(255, 107, 107, 0.7);
    margin-top: 0.25rem;
}

.action-btn.logout-btn:hover {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.5);
    color: #ff6b6b;
}

/* ── Main Content Area ──────────────────────────────────── */

.profile-main {
    flex: 1;
    min-width: 0;
    padding: 0;
}

/* ── Stats Grid ─────────────────────────────────────────── */

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(178, 120, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    border-color: rgba(178, 120, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(178, 120, 255, 0.12);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #B278FF, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Section Headers ─────────────────────────────────────── */

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Events Section ─────────────────────────────────────── */

.profile-events {
    width: 100%;
    margin-top: 0;
}

.profile-events.is-hidden {
    display: none;
}

.profile-events-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

/* Loading Spinner */
.profile-events-loading {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(178, 120, 255, 0.15);
    border-top-color: #B278FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

/* Tabs */
.events-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.events-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    margin-bottom: -1px;
}

.events-tab:hover {
    color: rgba(255, 255, 255, 0.75);
}

.events-tab.active {
    color: #B278FF;
    border-bottom-color: #B278FF;
    font-weight: 600;
}

/* Event Cards Grid */
.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.event-cards-grid.is-hidden {
    display: none;
}

/* Event Card */
.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(178, 120, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.event-card:hover {
    border-color: rgba(178, 120, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(178, 120, 255, 0.12);
}

.event-card--past {
    opacity: 0.6;
}

.event-card--past:hover {
    opacity: 1;
}

/* Card Image */
.event-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(178, 120, 255, 0.05);
}

.event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.event-card:hover .event-card__image {
    transform: scale(1.06);
}

/* Status Badge */
.event-card__status {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: rgba(0, 0, 0, 0.7);
    color: #B278FF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    border: 1px solid rgba(178, 120, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Card Body */
.event-card__body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.event-card__date {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #B278FF;
}

.event-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.event-card__location {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow: hidden;
}

.event-card__location i {
    flex-shrink: 0;
    font-size: 0.65rem;
}

.event-card__location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card__genres {
    font-size: 0.68rem;
    color: #B278FF;
    font-weight: 600;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

/* ── Chat Section ─────────────────────────────────────────── */

.profile-chats {
    width: 100%;
}

.profile-chats.is-hidden {
    display: none;
}

.profile-chats-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

/* ── Notifications Section ───────────────────────────────── */

.profile-notifications {
    width: 100%;
    margin-top: 1.5rem;
}

.profile-notifications.is-hidden {
    display: none;
}

.profile-notifications-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.profile-notifications-header .section-title {
    margin-bottom: 0.15rem;
}

.profile-notifications-header .section-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-card--unread {
    border-color: rgba(178, 120, 255, 0.6);
    background: rgba(178, 120, 255, 0.09);
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(178, 120, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B278FF;
    flex-shrink: 0;
}

.notification-icon img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.notification-message {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.notification-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.notification-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #B278FF;
}

.notification-empty {
    padding: 1rem 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.chat-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(178, 120, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.chat-card:hover {
    border-color: rgba(178, 120, 255, 0.3);
    box-shadow: 0 8px 24px rgba(178, 120, 255, 0.08);
    background: rgba(178, 120, 255, 0.03);
}

.chat-card.is-expanded {
    border-color: rgba(178, 120, 255, 0.4);
    box-shadow: 0 12px 36px rgba(178, 120, 255, 0.12);
    background: rgba(178, 120, 255, 0.03);
}

.chat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.chat-partner {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.chat-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.chat-preview {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chat-body {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-card.is-expanded .chat-body {
    display: flex;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0.5rem;
    overflow-y: auto;
    max-height: 120px;
    scrollbar-width: thin;
    scrollbar-color: rgba(178, 120, 255, 0.3) transparent;
}

.chat-card.is-expanded .chat-messages {
    max-height: 260px;
}

.chat-message {
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    width: fit-content;
    max-width: 85%;
}

.chat-message.from-partner {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}

.chat-message.from-user {
    background: rgba(178, 120, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-end;
}

.chat-composer {
    display: none;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.75rem;
}

.chat-card.is-expanded .chat-composer {
    display: flex;
}

.chat-input {
    flex: 1;
    resize: none;
    min-height: 40px;
    max-height: 90px;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(178, 120, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 0.85rem;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-input:focus {
    outline: none;
    border-color: rgba(178, 120, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(178, 120, 255, 0.12);
}

.chat-send {
    border: none;
    background: linear-gradient(135deg, #B278FF, #7C3AED);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.chat-send:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── Loading States ───────────────────────────────────────── */

.profile-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.profile-loading::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid rgba(178, 120, 255, 0.15);
    border-top: 3px solid #B278FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Success / Error Messages ─────────────────────────────── */

.profile-message {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
}

.profile-message.success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.profile-message.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ── Profile Picture Upload ───────────────────────────────── */

.profile-picture-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.profile-picture-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.profile-picture-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-picture-upload:hover .profile-picture-overlay {
    opacity: 1;
}

.profile-picture-overlay i {
    color: #B278FF;
    font-size: 1.3rem;
}

/* ── Profile Edit Modal (unused but kept) ─────────────────── */

.profile-edit-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.profile-edit-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #18181c;
    border: 1px solid rgba(178, 120, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

.profile-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-edit-title {
    color: #B278FF;
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-edit-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.profile-edit-close:hover {
    color: #ffffff;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-edit-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(178, 120, 255, 0.2);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.25s ease;
}

.profile-edit-input:focus {
    outline: none;
    border-color: rgba(178, 120, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(178, 120, 255, 0.1);
}

.profile-edit-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.profile-edit-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.profile-edit-btn {
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.875rem;
}

.profile-edit-btn.save {
    background: linear-gradient(135deg, #B278FF, #7C3AED);
    color: #ffffff;
}

.profile-edit-btn.save:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.profile-edit-btn.cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

.profile-edit-btn.cancel:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
    .profile-layout {
        flex-direction: column;
        padding: 5rem 1.5rem 3rem;
        gap: 1.5rem;
    }

    .profile-sidebar {
        width: 100%;
        max-width: 520px;
        position: static;
        align-self: center;
    }

    .profile-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .profile-layout {
        padding: 4.5rem 1rem 2.5rem;
    }

    .profile-sidebar {
        max-width: 100%;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-avatar img {
        width: 62px;
        height: 62px;
    }

    .event-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-layout {
        padding: 4rem 0.75rem 2rem;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .event-cards-grid {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
}

/* ===== EVENT DETAIL SHEET ===== */

.event-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background 0.3s ease;
}

.event-detail-overlay.is-visible {
    background: rgba(0, 0, 0, 0.78);
}

.event-detail-sheet {
    background: #111118;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    scrollbar-width: none;
}

.event-detail-overlay.is-visible .event-detail-sheet {
    transform: translateY(0);
}

.event-detail-sheet::-webkit-scrollbar { display: none; }

/* Close Button */
.event-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.event-detail-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Event Image */
.event-detail-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.event-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body */
.event-detail-body {
    padding: 1.5rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Title */
.event-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Organizer Card */
.event-detail-organizer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.event-detail-organizer-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.event-detail-organizer-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

.event-detail-organizer-name {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-top: 0.1rem;
}

/* Info Rows (Datum, Location) */
.event-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: var(--text-sm);
    color: var(--text-primary);
    line-height: 1.5;
}

.event-detail-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

/* Sections */
.event-detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.event-detail-section-label {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

/* Tags */
.event-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-detail__tag {
    background: rgba(178, 120, 255, 0.14);
    border: 1px solid rgba(178, 120, 255, 0.3);
    color: #B278FF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
}

/* Info Block (Preis, Alter, Specials) */
.event-detail-info-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    gap: 0.7rem;
}

.event-detail-info-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.event-detail-info-row i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.event-detail-info-row strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Beschreibung */
.event-detail-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
}

/* Action Buttons */
.event-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-detail-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.event-detail-action-btn i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.event-detail-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.event-detail-action-btn--danger {
    border-color: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.event-detail-action-btn--danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.45);
}

/* Desktop: zentriertes Modal statt Bottom-Sheet */
@media (min-width: 768px) {
    .event-detail-overlay {
        align-items: center;
        padding: 1.5rem;
    }

    .event-detail-sheet {
        border-radius: 24px;
        transform: translateY(16px) scale(0.98);
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        max-height: 88vh;
    }

    .event-detail-overlay.is-visible .event-detail-sheet {
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   CROSSPOSTING MODAL
   ============================================================ */

.xpost-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.xpost-overlay.is-hidden { display: none; }

.xpost-modal {
    background: #18181c;
    border: 1px solid rgba(178, 120, 255, 0.2);
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── Header ────────────────────────────────────────────────── */
.xpost-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.xpost-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.xpost-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.xpost-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.xpost-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── Body ──────────────────────────────────────────────────── */
.xpost-body {
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Vorschau-Bild ─────────────────────────────────────────── */
.xpost-preview {
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(178, 120, 255, 0.06);
    border: 1px solid rgba(178, 120, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xpost-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xpost-preview-placeholder {
    color: rgba(178, 120, 255, 0.35);
    font-size: 2.5rem;
}

/* ── Field Groups ──────────────────────────────────────────── */
.xpost-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.xpost-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xpost-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Caption Textarea ──────────────────────────────────────── */
.xpost-caption {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.55;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 130px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.xpost-caption:focus {
    border-color: rgba(178, 120, 255, 0.4);
    background: rgba(178, 120, 255, 0.03);
}

.xpost-char-count {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    text-align: right;
    margin: 0;
}

/* ── Copy Button ───────────────────────────────────────────── */
.xpost-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.xpost-copy-btn:hover {
    background: rgba(178, 120, 255, 0.1);
    border-color: rgba(178, 120, 255, 0.3);
    color: #D4AAFF;
}

.xpost-copy-btn.is-copied {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

/* ── Hashtag Chips ─────────────────────────────────────────── */
.xpost-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem;
}

.xpost-tag-chip {
    background: rgba(178, 120, 255, 0.1);
    border: 1px solid rgba(178, 120, 255, 0.2);
    border-radius: 20px;
    color: rgba(178, 120, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
}

/* ── Platform Buttons ──────────────────────────────────────── */
.xpost-platforms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.xpost-platform-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s, transform 0.2s;
}

.xpost-platform-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.xpost-platform-btn:active {
    transform: translateY(0);
    opacity: 1;
}

.xpost-platform-btn--instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
}

.xpost-platform-btn--instagram.xpost-platform-btn--connected {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}

.xpost-platform-btn--facebook {
    background: #1877f2;
    color: #fff;
}

.xpost-hint--connect {
    color: var(--text-muted);
}

.xpost-platform-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.xpost-platform-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.xpost-platform-sub {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.15rem;
}

/* ── Hinweis ───────────────────────────────────────────────── */
.xpost-hint {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.xpost-hint i {
    color: rgba(178, 120, 255, 0.5);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ── Desktop: zentriert ────────────────────────────────────── */
@media (min-width: 640px) {
    .xpost-overlay {
        align-items: center;
        padding: 1.5rem;
    }

    .xpost-modal {
        border-radius: 24px;
        max-height: 88vh;
    }
}

/* ============================================================
   LOCATION MANAGEMENT
   ============================================================ */

/* ── Locations Section ─────────────────────────────────────── */

.profile-locations {
    animation: fadeInUp 0.35s ease;
}

.profile-locations.is-hidden {
    display: none;
}

.profile-locations.is-hidden {
    display: none;
}

.profile-locations-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-create-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #B278FF, #7c3aed);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-create-location:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* ── Location Cards Grid ───────────────────────────────────── */

.location-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.loc-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}

.loc-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(178, 120, 255, 0.15);
    border-top-color: #B278FF;
    border-radius: 50%;
    animation: locSpin 0.8s linear infinite;
}

@keyframes locSpin {
    to { transform: rotate(360deg); }
}

.location-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.35);
}

.location-empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: rgba(178, 120, 255, 0.4);
}

.location-empty-state p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(178, 120, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.location-card:hover {
    border-color: rgba(178, 120, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(178, 120, 255, 0.1);
}

.location-card__img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(178, 120, 255, 0.06);
}

.location-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.location-card:hover .location-card__img-wrap img {
    transform: scale(1.05);
}

.location-card__img-wrap--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card__img-wrap--empty i {
    font-size: 2rem;
    color: rgba(178, 120, 255, 0.3);
}

.location-card__body {
    padding: 0.85rem 1rem 0.5rem;
}

.location-card__type {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B278FF;
    margin-bottom: 0.3rem;
}

.location-card__name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.location-card__city {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    margin: 0;
}

.location-card__actions {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.location-card__action-btn {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    padding: 0.65rem 0.25rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s, background 0.2s;
}

.location-card__action-btn i {
    font-size: 0.85rem;
}

.location-card__action-btn:hover {
    color: #B278FF;
    background: rgba(178, 120, 255, 0.07);
}

.location-card__action-btn--danger:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* ── Location Modals ───────────────────────────────────────── */

.loc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    animation: fadeIn 0.2s ease;
}

.loc-modal-overlay.is-hidden {
    display: none;
}

.loc-modal {
    background: #18181c;
    border: 1px solid rgba(178, 120, 255, 0.2);
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0.6; }
    to   { transform: translateY(0);    opacity: 1; }
}

.loc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.loc-modal-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.loc-settings-name {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
}

.loc-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.loc-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.loc-modal-body {
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.loc-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.loc-btn-save {
    width: 100%;
    padding: 0.9rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #B278FF, #7c3aed);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.loc-btn-save:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.loc-btn-save:disabled {
    opacity: 0.5;
    transform: none;
    cursor: not-allowed;
}

/* ── Form Fields ───────────────────────────────────────────── */

.loc-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loc-field-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.loc-field-label i {
    color: #B278FF;
    font-size: 0.8rem;
}

.loc-optional {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
}

.loc-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.loc-input:focus {
    border-color: rgba(178, 120, 255, 0.5);
    background: rgba(178, 120, 255, 0.04);
}

.loc-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.loc-textarea {
    resize: vertical;
    min-height: 80px;
}

.loc-address-grid {
    display: flex;
    gap: 0.6rem;
}

.loc-select-wrapper {
    position: relative;
}

.loc-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

.loc-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    pointer-events: none;
}

/* ── Öffnungszeiten ────────────────────────────────────────── */

.loc-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loc-hours-row {
    display: grid;
    grid-template-columns: 90px 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
}

.loc-hours-day {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.loc-time-input {
    padding: 0.55rem 0.65rem;
    font-size: 0.85rem;
    text-align: center;
}

.loc-hours-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    text-align: center;
}

/* ── Image Upload ──────────────────────────────────────────── */

.loc-image-upload {
    border: 1px dashed rgba(178, 120, 255, 0.3);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    aspect-ratio: 16 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(178, 120, 255, 0.04);
}

.loc-image-upload:hover {
    border-color: rgba(178, 120, 255, 0.6);
}

.loc-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loc-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.loc-image-placeholder i {
    font-size: 1.8rem;
    color: rgba(178, 120, 255, 0.4);
}

.loc-btn-change-image {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

.loc-btn-change-image:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── Ownership-Radio ───────────────────────────────────────── */

.loc-ownership-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.loc-ownership-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    cursor: pointer;
}

.loc-ownership-option input[type="radio"] {
    display: none;
}

.loc-ownership-option i {
    color: #B278FF;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Settings Cards ────────────────────────────────────────── */

.loc-settings-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}

.loc-settings-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loc-settings-card-title i {
    color: #B278FF;
}

/* Policy Tabs */
.loc-policy-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 0.75rem;
}

.loc-policy-tab {
    flex: 1;
    background: none;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.45rem 0.25rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.loc-policy-tab.active {
    background: rgba(178, 120, 255, 0.25);
    color: #D4AAFF;
    font-weight: 700;
}

.loc-policy-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Ownership Status Row */
.loc-ownership-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.loc-ownership-status-value {
    font-weight: 700;
    font-size: 0.875rem;
}

.loc-ownership-status-value.is-available { color: #f59e0b; }
.loc-ownership-status-value.is-claimed   { color: #22c55e; }

.loc-ownership-status-desc {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* ── Desktop: Modal zentriert statt bottom sheet ───────────── */
@media (min-width: 640px) {
    .loc-modal-overlay {
        align-items: center;
        padding: 1.5rem;
    }

    .loc-modal {
        border-radius: 24px;
        max-height: 85vh;
        animation: fadeInUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    }
}

@media (max-width: 480px) {
    .loc-hours-row {
        grid-template-columns: 75px 1fr auto 1fr;
        gap: 0.35rem;
    }

    .loc-hours-day {
        font-size: 0.78rem;
    }
}
