/**
 * roomzic.css
 * CSS global extrait de tous les fichiers frontend/view/frontend/
 * Généré automatiquement — ne pas modifier manuellement.
 */

/* ============================================================
   COMMUN — Page Header
   (create-settings, participants, profile, settings, suggestions, room-checkout)
   ============================================================ */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 50;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.2s;
}

.back-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.page-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.header-spacer {
    width: 40px;
}

/* ============================================================
   COMMUN — Wizard Section
   ============================================================ */
.wizard-section {
    margin-bottom: 28px;
}

.wizard-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ============================================================
   COMMUN — Form
   ============================================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray);
    font-weight: 400;
    margin-top: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: var(--gray);
}

/* Number Input Group */
.number-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.number-input-label {
    flex: 1;
    min-width: 0;
}

.number-input-label .form-label {
    margin-bottom: 2px;
}

.form-input-number {
    flex: 0 0 72px;
    width: 72px;
    text-align: center;
    padding: 10px 8px;
    font-size: 15px;
}

/* ============================================================
   COMMUN — Toggle Group / Switch
   ============================================================ */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.toggle-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    margin-right: 16px;
}

.toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
}

.toggle-description {
    font-size: 12px;
    color: var(--gray);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* ============================================================
   COMMUN — Alert
   ============================================================ */
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(255, 61, 113, 0.15);
    border: 1px solid rgba(255, 61, 113, 0.3);
    color: var(--primary);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

/* ============================================================
   COMMUN — Wizard Footer
   ============================================================ */
.wizard-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    padding: 20px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
}

.wizard-footer .btn {
    flex: 1;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary.loading {
    pointer-events: none;
}

.btn-primary:not(:disabled):active {
    transform: scale(0.98);
}

/* ============================================================
   COMMUN — Linked Accounts (profile & settings)
   ============================================================ */
.linked-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.linked-accounts-loading {
    text-align: center;
    padding: 24px;
    color: var(--gray);
    font-size: 14px;
}

.linked-account-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.linked-account-card:active {
    transform: scale(0.98);
}

.linked-account-card.selected {
    border-color: var(--primary);
    background: rgba(255, 61, 113, 0.08);
}

.linked-account-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.linked-account-icon.spotify    { background: rgba(30, 215, 96, 0.15); }
.linked-account-icon.deezer     { background: rgba(254, 170, 45, 0.15); }
.linked-account-icon.apple_music { background: rgba(252, 60, 68, 0.15); }
.linked-account-icon.youtube_music { background: rgba(255, 0, 0, 0.15); }
.linked-account-icon.amazon_music { background: rgba(37, 209, 218, 0.15); }
.linked-account-icon.soundcloud { background: rgba(255, 85, 0, 0.15); }

.linked-account-info {
    flex: 1;
    min-width: 0;
}

.linked-account-provider {
    font-size: 14px;
    font-weight: 700;
    color: var(--light);
}

.linked-account-name {
    font-size: 12px;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.linked-account-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linked-account-card.selected .linked-account-check {
    background: var(--primary);
    border-color: var(--primary);
}

.linked-account-card.selected .linked-account-check::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.linked-account-delete {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 61, 113, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.linked-account-delete:active {
    transform: scale(0.9);
    background: rgba(255, 61, 113, 0.2);
}

.no-accounts {
    text-align: center;
    padding: 32px 16px;
    color: var(--gray);
}

.no-accounts-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.no-accounts-text {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--light);
    font-weight: 600;
}

.no-accounts-hint {
    font-size: 13px;
}

.add-account-section {
    margin-bottom: 16px;
}

.btn-add-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-add-account:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 61, 113, 0.05);
}

.btn-add-account:active {
    transform: scale(0.98);
}

.provider-picker {
    margin-top: 8px;
}

.provider-picker-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 12px;
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-card:active {
    transform: scale(0.96);
}

.platform-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--light);
    text-align: center;
}

.btn-cancel-picker {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-cancel-picker:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   COMMUN — Danger Zone
   ============================================================ */
.danger-section {
    padding: 20px;
    background: rgba(255, 61, 113, 0.05);
    border: 1px solid rgba(255, 61, 113, 0.2);
    border-radius: 16px;
}

.danger-section .wizard-section-title {
    color: var(--primary);
}

.danger-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-danger-outline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-danger-outline:active {
    background: rgba(255, 61, 113, 0.1);
}

.btn-danger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-danger:active {
    opacity: 0.8;
}

.danger-hint {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================================
   COMMUN — Toast / Toast Container
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    max-width: 480px;
}

.toast {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlide 0.3s ease;
    backdrop-filter: blur(10px);
}

.toast-info {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.toast-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.toast-error {
    background: rgba(255, 61, 113, 0.15);
    border: 1px solid rgba(255, 61, 113, 0.3);
    color: var(--primary);
}

@keyframes toastSlide {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ============================================================
   COMMUN — Confirm Modal
   ============================================================ */
.confirm-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
}

.confirm-modal.active {
    display: flex;
}

.confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.confirm-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--dark);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px 20px 28px;
    animation: slideUp 0.25s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.confirm-message {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.btn-confirm-cancel {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
}

.btn-confirm-danger {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    cursor: pointer;
}

/* ============================================================
   COMMUN — Animations
   ============================================================ */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* ============================================================
   PAGE — create-settings.phtml
   ============================================================ */
.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    margin-bottom: 8px;
}

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wizard-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--gray);
    transition: all 0.3s ease;
}

.wizard-step-item.active .wizard-step-dot {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 20px rgba(255, 61, 113, 0.4);
}

.wizard-step-item.completed .wizard-step-dot {
    background: var(--success);
    color: white;
}

.wizard-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
}

.wizard-step-item.active .wizard-step-label,
.wizard-step-item.completed .wizard-step-label {
    color: var(--light);
}

.wizard-step-line {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 28px;
}

.wizard-step-line.completed {
    background: linear-gradient(90deg, var(--success), var(--primary));
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 24px;
}

.platform-badge-icon {
    font-size: 24px;
}

.platform-badge-text {
    flex: 1;
    font-weight: 600;
    color: var(--light);
}

.platform-badge-change {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================================
   PAGE — room-checkout.phtml
   ============================================================ */
:root {
    --gold: #FCD34D;
    --gold-soft: rgba(252, 211, 77, 0.15);
    --gold-border: rgba(252, 211, 77, 0.3);
    --pink: #FF3D71;
}

.checkout-hero {
    position: relative;
    text-align: center;
    padding: 40px 24px 32px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-icon {
    font-size: 56px;
    margin-bottom: 16px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.features-section {
    margin: 0 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.feature-item:last-child { border-bottom: none; }

.feature-icon-wrap {
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-body { flex: 1; }

.feature-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 2px;
}

.feature-desc {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    flex-shrink: 0;
}

.pricing-card {
    margin: 0 16px 16px;
    background: linear-gradient(135deg, var(--gold-soft), rgba(255, 61, 113, 0.1));
    border: 1.5px solid var(--gold-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.pricing-badge {
    background: linear-gradient(135deg, var(--gold), var(--pink));
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 11px;
    color: var(--gray);
}

.price-amount {
    font-family: 'Clash Display', sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 12px;
    color: var(--gray);
    text-align: right;
    margin-top: 2px;
}

.pricing-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 20px;
}

.pricing-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 11px;
    color: var(--gray);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px 20px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-label {
    font-size: 11px;
    color: var(--gray);
    flex-shrink: 0;
}

.payment-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 9px;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.payment-icon.visa  { background: #1A1F71; color: #fff; }
.payment-icon.mc    { background: #EB001B; color: #fff; }
.payment-icon.amex  { background: #007BC1; color: #fff; }
.payment-icon.sepa  { background: rgba(255, 255, 255, 0.08); color: var(--gray); border: 1px solid rgba(255, 255, 255, 0.1); }

.checkout-alert {
    margin: 0 16px 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.cta-wrapper {
    padding: 0 16px 32px;
}

.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 32px rgba(252, 211, 77, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-checkout:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(252, 211, 77, 0.2);
}

.btn-checkout:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-checkout .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(26, 26, 46, 0.3);
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.cta-legal {
    text-align: center;
    font-size: 11px;
    color: var(--gray);
    margin-top: 12px;
}

.cta-legal a {
    color: var(--gold);
    text-decoration: none;
}

.success-state {
    padding: 48px 24px;
    text-align: center;
}

.success-animation {
    margin-bottom: 24px;
}

.success-circle {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #1a1a2e;
    animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.success-msg {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0 0 32px;
}

.btn-back-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-back-settings:active { transform: scale(0.97); }

.card-form-section {
    margin: 0 16px;
    padding-bottom: 32px;
}

.card-form-group {
    margin-bottom: 16px;
}

.card-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.card-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    font-family: inherit;
}

.card-input:focus { border-color: rgba(252, 211, 77, 0.6); }
.card-input::placeholder { color: rgba(255, 255, 255, 0.2); }

.card-element-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color 0.2s;
}

.card-element-wrap.is-focused { border-color: rgba(252, 211, 77, 0.6); }
.card-element-wrap.is-invalid { border-color: rgba(255, 61, 113, 0.6); }

.card-errors {
    margin-top: 8px;
    font-size: 12px;
    color: #FF6B8A;
    min-height: 16px;
}

/* ============================================================
   PAGE — participants.phtml
   ============================================================ */
.room-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.room-info-loading { color: var(--gray); font-size: 14px; }

.room-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.room-info-details { flex: 1; }

.room-info-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--light);
    margin-bottom: 4px;
}

.room-info-stats { font-size: 13px; color: var(--gray); }

.members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.2s;
}

.member-card:active { background: rgba(255, 255, 255, 0.06); }

.member-card.owner       { border-color: var(--accent);    background: rgba(252, 211, 77, 0.05); }
.member-card.moderator   { border-color: var(--primary);   background: rgba(255, 61, 113, 0.05); }
.member-card.participant { border-color: var(--secondary); background: rgba(139, 92, 246, 0.05); }

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.member-card.owner .member-avatar       { background: linear-gradient(135deg, var(--accent), #F59E0B); }
.member-card.moderator .member-avatar   { background: linear-gradient(135deg, var(--primary), #FF6B8A); }
.member-card.participant .member-avatar { background: linear-gradient(135deg, var(--secondary), #A78BFA); }

.member-info { flex: 1; min-width: 0; }

.member-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--light);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-role-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-role-badge.owner       { background: linear-gradient(135deg, var(--accent), #F59E0B); color: #1a1a35; }
.member-role-badge.moderator   { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.member-role-badge.participant { background: rgba(139, 92, 246, 0.2); color: var(--secondary); }

.member-meta { font-size: 13px; color: var(--gray); }

.member-actions { display: flex; gap: 8px; }

.member-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.member-action-btn:active { transform: scale(0.95); }

/* Action Sheet — participants */
.action-sheet {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.action-sheet.active { display: block; }

.action-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.action-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border-radius: 24px 24px 0 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    animation: slideUp 0.3s ease;
}

.action-sheet-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.action-sheet-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.action-sheet-user .member-avatar {
    width: 56px;
    height: 56px;
    font-size: 22px;
}

.action-sheet-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--light);
}

.action-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.action-sheet-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--light);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.action-sheet-btn:active { background: rgba(255, 255, 255, 0.08); }
.action-sheet-btn.danger  { color: var(--primary); }
.action-sheet-btn.success { color: var(--success); }
.action-sheet-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.action-sheet-btn-icon { font-size: 20px; }

.action-sheet-cancel {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    font-family: inherit;
}

.action-sheet-cancel:active { background: rgba(255, 255, 255, 0.1); }

/* ============================================================
   PAGE — profile.phtml
   ============================================================ */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 32px;
    text-align: center;
}

.avatar-container {
    position: relative;
    margin-bottom: 16px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark);
    border: 3px solid var(--dark);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-edit-btn:hover { background: rgba(255, 255, 255, 0.1); }

.profile-name {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email { color: var(--gray); font-size: 14px; }

.password-input-wrapper { position: relative; }
.password-input-wrapper .form-input { padding-right: 50px; }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
}

.password-toggle:hover { color: var(--light); }

.language-selector { display: flex; gap: 12px; }

.lang-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-option:hover  { background: rgba(255, 255, 255, 0.05); }
.lang-option.active { border-color: var(--primary); background: rgba(255, 61, 113, 0.1); }

.lang-flag { font-size: 20px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-align: center;
}

.stat-value {
    font-family: 'Clash Display', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label { font-size: 12px; color: var(--gray); }

.icon-inline {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: -3px;
    display: inline-block;
}

/* ============================================================
   PAGE — settings.phtml (premium features)
   ============================================================ */
.premium-banner {
    margin: 0 20px 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.15), rgba(255, 61, 113, 0.15));
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 16px;
}

.premium-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-icon { font-size: 28px; }
.premium-text { flex: 1; }

.premium-title { font-weight: 700; font-size: 15px; color: var(--accent); }
.premium-subtitle { font-size: 12px; color: var(--gray); }

.premium-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.premium-btn:active { transform: scale(0.98); }

.premium-feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    border-radius: 20px;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.premium-locked {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.premium-locked.unlocked {
    opacity: 1;
    pointer-events: auto;
}

.premium-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

.premium-locked.unlocked .premium-overlay { display: none; }
.lock-icon { font-size: 24px; }
.premium-overlay span { font-size: 12px; font-weight: 600; color: var(--accent); }
.premium-text-inline { color: var(--accent); cursor: pointer; font-weight: 600; }

.room-info-meta { display: flex; gap: 12px; font-size: 13px; color: var(--gray); }

.room-info-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.room-code-value {
    font-family: 'Clash Display', sans-serif;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-code-label { font-size: 10px; color: var(--gray); text-transform: uppercase; font-weight: 600; }

.room-premium-badge {
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    margin-left: 8px;
}

.moderators-container {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.mod-info-message { margin: 0; font-size: 13px; color: var(--gray); line-height: 1.5; }

.btn-cancel-premium {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 2px solid rgba(252, 211, 77, 0.4);
    border-radius: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-cancel-premium:active   { background: rgba(252, 211, 77, 0.1); }
.btn-cancel-premium:disabled { opacity: 0.5; cursor: not-allowed; }

.room-status-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 0;
}

.room-status-toggle .toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #10b981, #059669);
}

.danger-section .btn-danger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Logo Upload */
.logo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.logo-upload-container:hover { border-color: var(--primary); }

.logo-upload-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
}

.logo-preview {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.logo-preview:hover { border-color: var(--primary); background: rgba(255, 61, 113, 0.05); }

.logo-preview.has-image { border-style: solid; border-color: rgba(255, 255, 255, 0.1); }

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
}

.logo-placeholder span { font-size: 11px; font-weight: 600; }
.logo-preview img { width: 100%; height: 100%; object-fit: cover; }

.logo-actions { display: flex; gap: 8px; }

.btn-upload {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-upload:hover  { background: rgba(255, 255, 255, 0.08); }
.btn-upload:active { transform: scale(0.98); }

.btn-remove-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 61, 113, 0.1);
    border: 1px solid rgba(255, 61, 113, 0.2);
    border-radius: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-remove-logo:hover  { background: rgba(255, 61, 113, 0.15); }
.btn-remove-logo:active { transform: scale(0.98); }

/* Radio Group */
.radio-group { display: flex; flex-direction: column; gap: 12px; }

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

.radio-option.selected,
.radio-option:has(input:checked) { border-color: var(--primary); background: rgba(255, 61, 113, 0.08); }

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

.radio-checkmark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.radio-option:has(input:checked) .radio-checkmark {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-option:has(input:checked) .radio-checkmark::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-content { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.radio-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-description { font-size: 13px; color: var(--gray); }

.premium-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    border-radius: 12px;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.premium-radio.locked          { opacity: 0.6; }
.premium-radio.locked .radio-checkmark { border-color: rgba(255, 255, 255, 0.15); }
.premium-radio.unlocked .premium-badge-inline { display: none; }

/* Premium Modal */
.premium-modal-content { text-align: center; padding: 32px 24px; max-width: 400px; }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--gray);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-modal-header { margin-bottom: 24px; }
.premium-modal-icon { font-size: 48px; margin-bottom: 16px; }

.premium-modal-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.premium-modal-subtitle { color: var(--gray); font-size: 14px; }

.premium-features-list { text-align: left; margin-bottom: 24px; }

.premium-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-feature-item:last-child { border-bottom: none; }

.feature-icon  { font-size: 20px; }
.feature-text  { font-size: 14px; font-weight: 500; }

.premium-price { margin-bottom: 20px; }

.price-value {
    font-family: 'Clash Display', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #635bff, #7c3aed);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-pay:hover    { transform: scale(1.02); box-shadow: 0 8px 24px rgba(99, 91, 255, 0.3); }
.btn-pay:active   { transform: scale(0.98); }
.btn-pay:disabled { opacity: 0.7; cursor: not-allowed; }

.premium-note { margin-top: 16px; font-size: 12px; color: var(--gray); }

/* ============================================================
   PAGE — view.phtml
   ============================================================ */
.room-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 12px;
}

.room-logo img { width: 100%; height: 100%; object-fit: cover; }
.room-logo svg { width: 24px; height: 24px; color: white; }

.room-logo.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 0 12px rgba(255, 61, 113, 0.3);
}

.room-info-wrapper { display: flex; align-items: center; }

.now-playing {
    margin: 20px;
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(255, 61, 113, 0.2);
    border-radius: 24px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.now-playing::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.now-playing-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.9); }
}

.track-info { display: flex; gap: 16px; align-items: center; }

.track-cover {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    overflow: hidden;
}

.track-cover img { width: 100%; height: 100%; object-fit: cover; }

.track-details { flex: 1; min-width: 0; }

.track-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist { color: var(--gray); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.track-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

.track-suggested-by { font-size: 12px; color: var(--gray); }

.track-duration {
    font-size: 12px;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.07);
    padding: 1px 7px;
    border-radius: 10px;
}

.track-actions { position: absolute; top: 20px; right: 20px; }

.control-btn.primary  { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.control-btn.secondary { background: rgba(255, 255, 255, 0.05); color: var(--light); border: 1px solid rgba(255, 255, 255, 0.1); }

.room-section { padding: 0 20px; }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

.section-title { font-family: 'Clash Display', sans-serif; font-size: 20px; font-weight: 700; }

.section-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
}

.track-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.track-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 12px;
    transition: all 0.2s;
    animation: fadeIn 0.3s ease-out;
}

.track-card:active { transform: scale(0.98); background: rgba(255, 255, 255, 0.05); }

.track-card:nth-child(1) { animation-delay: 0.05s; }
.track-card:nth-child(2) { animation-delay: 0.1s; }
.track-card:nth-child(3) { animation-delay: 0.15s; }
.track-card:nth-child(4) { animation-delay: 0.2s; }
.track-card:nth-child(5) { animation-delay: 0.25s; }

.track-position {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.2), rgba(124, 58, 237, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.track-card-cover {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.track-card-cover img { width: 100%; height: 100%; object-fit: cover; }

.track-card-info { flex: 1; min-width: 0; }

.track-card-title { font-weight: 700; font-size: 15px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card-artist { color: var(--gray); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card-meta { display: flex; gap: 8px; margin-top: 6px; font-size: 11px; color: var(--gray); }

.track-card-actions { display: flex; flex-direction: column; gap: 6px; justify-content: center; }

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.action-btn.accept { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.action-btn.reject { background: rgba(255, 61, 113, 0.15); color: var(--primary); }
.action-btn:active { transform: scale(0.9); }

.suggestion-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(252, 211, 77, 0.2);
    border-left: 3px solid var(--accent);
}

.suggestion-card.no-pointer { cursor: default; }

.fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 24px rgba(255, 61, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 99;
}

.fab:active { transform: scale(0.9); }

.search-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    z-index: 200;
    display: none;
    flex-direction: column;
}

.search-modal.active { display: flex; }

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.search-input-wrapper { flex: 1; }

.search-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 16px;
    font-family: inherit;
}

.search-input::placeholder { color: var(--gray); }
.search-input:focus { outline: none; border-color: var(--primary); }

.search-submit-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.search-submit-btn:active { transform: scale(0.9); }

.search-results { flex: 1; overflow-y: auto; padding: 20px; }
.search-results-list { display: flex; flex-direction: column; gap: 12px; }

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Action Sheet Overlay — view & rooms */
.action-sheet-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.action-sheet-overlay.active { opacity: 1; visibility: visible; }

/* ── Action sheet panel inside overlay (rooms.phtml, view.phtml) ──────────
   Override the participants-page rule (.action-sheet { display:none })     */
.action-sheet-overlay .action-sheet {
    position: absolute;
    inset: auto 0 0 0;
    display: block;
    z-index: 1;
    background: var(--dark-card);
    border-radius: 24px 24px 0 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    animation: slideUp 0.3s ease;
}

/* Header commun (marge + séparateur) */
.action-sheet-overlay .action-sheet-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header avec pochette (view.phtml) → flex horizontal */
.action-sheet-overlay .action-sheet-header:has(.action-sheet-cover) {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

/* Header sans pochette (rooms.phtml) → centré */
.action-sheet-overlay .action-sheet-header:not(:has(.action-sheet-cover)) {
    text-align: center;
}

/* Pochette de la piste */
.action-sheet-cover {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.action-sheet-cover img { width: 100%; height: 100%; object-fit: cover; }
.action-sheet-cover svg { width: 24px; height: 24px; opacity: 0.5; }

/* Infos texte */
.action-sheet-info   { flex: 1; min-width: 0; }

.action-sheet-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-sheet-artist,
.action-sheet-subtitle {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-sheet-overlay .action-sheet-meta {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

/* Variantes de couleur des boutons */
.action-sheet-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    text-decoration: none;
    justify-content: center;
}
.action-sheet-btn.warning { color: var(--accent); }
.action-sheet-btn.info    { color: var(--secondary); }
.action-sheet-btn.cancel  { color: var(--gray); }

/* Pending / vote badges */
.pending-badge {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.2), rgba(252, 211, 77, 0.1));
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.vote-count {
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.2), rgba(124, 58, 237, 0.2));
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.room-tabs {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.room-tabs::-webkit-scrollbar { display: none; }

.room-tab {
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-tab.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; color: white; }
.room-tab:active { transform: scale(0.95); }

.tab-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.room-tab:not(.active) .tab-badge { background: rgba(255, 61, 113, 0.3); color: var(--primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Install Banner */
.install-banner {
    display: none;
    margin: 0 20px 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 61, 113, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    animation: slideDown 0.3s ease-out;
}

.install-banner.show { display: block; }

.install-banner-content { display: flex; align-items: center; gap: 12px; }

.install-banner-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.install-banner-icon svg { width: 24px; height: 24px; color: white; }

.install-banner-text { flex: 1; min-width: 0; }
.install-banner-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.install-banner-desc  { font-size: 12px; color: var(--gray); }

.install-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

.install-btn {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.install-btn:active { transform: scale(0.95); }
.install-btn.primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.install-btn.dismiss { background: transparent; color: var(--gray); padding: 10px 8px; }

/* Queue Skeleton */
.queue-skeleton { display: flex; flex-direction: column; gap: 12px; }

.queue-skeleton-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.queue-skeleton-num    { width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; }
.queue-skeleton-cover  { width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; }
.queue-skeleton-info   { flex: 1; }
.queue-skeleton-line   { height: 14px; border-radius: 6px; margin-bottom: 8px; }
.queue-skeleton-line.short { width: 60%; height: 12px; margin-bottom: 0; }

/* ============================================================
   PAGE — rooms.phtml
   ============================================================ */
.rooms-header { padding: 20px; padding-top: 60px; }

.rooms-title { font-family: 'Clash Display', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.rooms-subtitle { color: var(--gray); font-size: 14px; }

.rooms-tabs {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rooms-tabs::-webkit-scrollbar { display: none; }

.rooms-tab {
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rooms-tab.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; color: white; }
.rooms-tab:active { transform: scale(0.95); }

.rooms-tab .tab-badge { background: rgba(255, 255, 255, 0.2); }
.rooms-tab:not(.active) .tab-badge { background: rgba(255, 61, 113, 0.3); color: var(--primary); }

.room-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.room-card:active { transform: scale(0.98); background: rgba(255, 255, 255, 0.06); }
.room-card.active { border-color: rgba(255, 61, 113, 0.25); background: linear-gradient(135deg, rgba(255, 61, 113, 0.06), rgba(124, 58, 237, 0.04)); }

.room-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
}

.room-card-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.room-card-icon.active { background: linear-gradient(135deg, rgba(255, 61, 113, 0.2), rgba(124, 58, 237, 0.2)); }
.room-card-icon.ended  { background: rgba(255, 255, 255, 0.05); }

.room-card-body { flex: 1; min-width: 0; }

.room-card-name {
    font-family: 'Clash Display', sans-serif;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.room-card-meta { display: flex; align-items: center; gap: 8px; }

.room-card-status { font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.room-card-status.active { color: var(--success); }
.room-card-status.ended  { color: var(--gray); }

.room-card-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.room-card-status.active .room-card-dot { background: var(--success); }
.room-card-status.ended  .room-card-dot { background: var(--gray); }

.room-card-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.room-card-code { font-size: 11px; font-weight: 600; color: var(--gray); font-family: monospace; letter-spacing: 0.5px; }

.room-card-chevron { color: rgba(255,255,255,0.2); flex-shrink: 0; }

.quick-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.quick-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.quick-action-btn:active { transform: scale(0.97); }
.quick-action-btn.primary  { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 16px rgba(255, 61, 113, 0.3); }
.quick-action-btn.secondary { background: rgba(255, 255, 255, 0.05); color: var(--light); border: 1px solid rgba(255, 255, 255, 0.1); }
.quick-action-btn.primary.locked { background: rgba(255, 255, 255, 0.04); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.08); opacity: 0.6; cursor: not-allowed; flex-direction: column; gap: 4px; filter: grayscale(0.4); }
.quick-action-btn.primary.locked:active { transform: none; }
.locked-hint { font-size: 11px; font-style: italic; color: rgba(255, 200, 80, 0.85); font-weight: 400; }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--dark-card);
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

.modal-header { padding: 24px 20px 0; text-align: center; }

.modal-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.modal-body  { padding: 24px 20px; }
.modal-footer { padding: 0 20px 24px; display: flex; gap: 12px; }

.modal-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn:active { transform: scale(0.97); }
.modal-btn.primary   { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.modal-btn.secondary { background: rgba(255, 255, 255, 0.05); color: var(--gray); }

/* ============================================================
   PAGE — home.phtml (PWA banner & role badges)
   ============================================================ */
.pwa-install-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 61, 113, 0.3);
    border-radius: 16px;
    margin: 16px 16px 0;
    padding: 16px;
    animation: slideDown 0.3s ease-out;
}

.pwa-install-content { display: flex; align-items: center; gap: 12px; }

.pwa-install-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff3d71, #ff6b9d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-install-icon img { width: 100%; height: 100%; object-fit: cover; }

.pwa-install-text { flex: 1; min-width: 0; }
.pwa-install-title { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 2px; }
.pwa-install-subtitle { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.pwa-install-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.pwa-install-btn {
    background: linear-gradient(135deg, #ff3d71, #ff6b9d);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pwa-install-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 61, 113, 0.4); }

.pwa-dismiss-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.pwa-dismiss-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.room-badge.owner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 61, 113, 0.25), rgba(124, 58, 237, 0.25));
    color: var(--primary, #ff3d71);
    border: 1px solid rgba(255, 61, 113, 0.3);
}

.room-badge.moderator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(252, 211, 77, 0.15);
    color: var(--accent, #fcd34d);
    border: 1px solid rgba(252, 211, 77, 0.3);
}

.room-badge.owner svg,
.room-badge.moderator svg { width: 10px; height: 10px; flex-shrink: 0; }

/* ============================================================
   PAGE — create.phtml (alert & form errors)
   ============================================================ */
.roomzic-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: alertSlideIn 0.2s ease;
}

.roomzic-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}

.roomzic-alert__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #ef4444;
    margin-top: 1px;
}

.roomzic-alert__text { flex: 1; }

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.room-code-info {
    margin: 0.5rem 0 0;
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid var(--primary);
    border-radius: 0 0.375rem 0.375rem 0;
}

.room-code-info strong { color: var(--primary); font-weight: 600; }

ul.form-errors {
    list-style: none;
    margin: 0.375rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

ul.form-errors li {
    font-size: 0.8125rem;
    color: #fca5a5;
    padding: 0.25rem 0.625rem;
    background: rgba(239, 68, 68, 0.08);
    border-left: 2px solid #ef4444;
    border-radius: 0 0.25rem 0.25rem 0;
    animation: alertSlideIn 0.15s ease;
}

/* ============================================================
   PAGE — suggestions.phtml
   ============================================================ */
.stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    flex-shrink: 0;
    min-width: 64px;
}

.stat-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
}

.stat-chip.pending  { border-color: rgba(252,211,77,0.3);  background: rgba(252,211,77,0.06); }
.stat-chip.pending .stat-num  { color: var(--accent); }
.stat-chip.playing  { border-color: rgba(52,211,153,0.3);  background: rgba(52,211,153,0.06); }
.stat-chip.playing .stat-num  { color: var(--success); }
.stat-chip.accepted { border-color: rgba(139,92,246,0.3);  background: rgba(139,92,246,0.06); }
.stat-chip.accepted .stat-num { color: var(--secondary); }
.stat-chip.rejected { border-color: rgba(239,68,68,0.3);   background: rgba(239,68,68,0.06); }
.stat-chip.rejected .stat-num { color: #ef4444; }

.suggestions-list { display: flex; flex-direction: column; gap: 10px; }

.suggestion-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: all 0.2s;
}

.suggestion-card:active { background: rgba(255,255,255,0.06); }

.suggestion-card.status-pending  { border-left: 3px solid var(--accent); }
.suggestion-card.status-playing  { border-left: 3px solid var(--success); background: rgba(52,211,153,0.04); }
.suggestion-card.status-accepted { border-left: 3px solid var(--secondary); }
.suggestion-card.status-rejected { border-left: 3px solid rgba(239,68,68,0.5); opacity: 0.7; }

.suggestion-cover {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.suggestion-cover img { width: 100%; height: 100%; object-fit: cover; }

.cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; }

.suggestion-info { flex: 1; min-width: 0; }

.suggestion-title { font-weight: 700; font-size: 15px; color: var(--light); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-artist { font-size: 13px; color: var(--gray); margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.suggestion-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.meta-item { font-size: 11px; color: var(--gray); opacity: 0.8; }

.suggestion-status { flex-shrink: 0; }

.status-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 56px;
    text-align: center;
}

.status-icon { font-size: 14px; }

.status-badge.status-pending  { background: rgba(252,211,77,0.12);  color: var(--accent); }
.status-badge.status-playing  { background: rgba(52,211,153,0.15);  color: var(--success); }
.status-badge.status-accepted { background: rgba(139,92,246,0.15);  color: var(--secondary); }
.status-badge.status-rejected { background: rgba(239,68,68,0.1);    color: #ef4444; }

.empty-filtered {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray);
}

.empty-state-title { font-weight: 700; font-size: 16px; color: var(--light); margin-bottom: 6px; }
.empty-state-sub   { font-size: 14px; color: var(--gray); }

/* ============================================================
   TABS communs (participants & suggestions)
   ============================================================ */
.tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--gray);
    font-family: inherit;
}

.tab.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; color: white; }
.tab:active { transform: scale(0.95); }

.tab .tab-badge { background: rgba(255,255,255,0.15); border-radius: 20px; padding: 1px 7px; font-size: 12px; font-weight: 700; }

.room-live-indicator.offline {
    background: var(--gray);
    animation: none;
}
.tab.active .tab-badge { background: rgba(255,255,255,0.25); }
