/* ==========================================================================
   ASPPARTY - Official Stylesheet (Santana do Livramento & Rivera)
   ========================================================================== */

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Custom Brand Scrollbar --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #5028F3 #F0F2F9;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #F0F2F9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1788E5 0%, #5028F3 50%, #8512ED 100%);
    border-radius: 9999px;
    border: 2px solid #F0F2F9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1274C7 0%, #3E1BD1 50%, #6D0BC7 100%);
}

body {
    background-color: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* --- Layout Containers --- */
.listing-container, .hero-container, .fb-nav-container, .footer-wrap, .form-page-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.w-100 { width: 100%; }

/* --- Buttons & Badges --- */
.btn-primary-gradient {
    background: var(--color-gradient);
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(80, 40, 243, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 40, 243, 0.35);
    color: #FFFFFF;
}

.btn-secondary-outline {
    background: #FFFFFF;
    color: var(--color-ink);
    border: 1.5px solid var(--color-border);
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-secondary-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-surface);
}

.badge-pill-accent {
    background: rgba(80, 40, 243, 0.1);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-border-pill {
    background: #FFFFFF;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   DESKTOP FACEBOOK-STYLE TOPBAR
   ========================================================================== */
.aspparty-fb-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(41, 35, 92, 0.04);
    z-index: 1000;
}

.fb-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

/* Nav Left */
.fb-nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1.4;
    max-width: 540px;
}

.fb-nav-logo {
    flex-shrink: 0;
}
.fb-nav-logo .logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.fb-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 14px;
    width: 100%;
    transition: all 0.2s ease;
}
.fb-search-wrap:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(80, 40, 243, 0.12);
    background: #FFFFFF;
}

.fb-search-wrap .search-icon {
    color: var(--color-muted);
    font-size: 14px;
    margin-right: 8px;
    flex-shrink: 0;
}

.fb-search-input {
    background: transparent;
    color: var(--color-ink);
    font-size: 14px;
    width: 100%;
    min-width: 80px;
}

.fb-city-select {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Nav Center (Facebook Tabs) */
.fb-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    height: 100%;
}

.fb-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 105px;
    padding: 0 14px;
    color: var(--color-muted);
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fb-tab-icon {
    font-size: 19px;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}

.fb-tab-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.fb-tab:hover {
    color: var(--color-accent);
    background: rgba(80, 40, 243, 0.04);
}
.fb-tab:hover .fb-tab-icon {
    transform: translateY(-2px);
}

.fb-tab.is-active {
    color: var(--color-accent);
}
.fb-tab.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--color-gradient);
    border-radius: 3px 3px 0 0;
}

/* Nav Right */
.fb-nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0.9;
}

.fb-auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-icon-btn {
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}
.fb-icon-btn:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.fb-tickets-shortcut {
    padding: 0 16px;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(80, 40, 243, 0.08);
    border-color: rgba(80, 40, 243, 0.2);
}

.fb-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 4px 12px 4px 6px;
    border-radius: var(--radius-full);
    cursor: pointer;
}
.fb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.fb-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fb-chevron {
    font-size: 11px;
    color: var(--color-muted);
}

.fb-btn-login {
    background: transparent;
    color: var(--color-ink);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.fb-btn-login:hover {
    background: var(--color-surface);
}

.fb-btn-signup {
    background: var(--color-gradient);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.22);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.fb-btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(80, 40, 243, 0.3);
}

/* ==========================================================================
   HAMBURGER MENU TOGGLE & SLIDE-OVER DRAWER (TABLET & MOBILE)
   ========================================================================== */
body.mobile-drawer-open {
    overflow: hidden;
}

.fb-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.fb-mobile-toggle:hover {
    background: #F3F0FF;
    border-color: rgba(80, 40, 243, 0.35);
    color: var(--color-accent);
}
.fb-mobile-toggle.is-open {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.25);
}

.fb-hamburger-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 17px;
    position: relative;
}
.fb-hamburger-box .icon-close {
    display: none;
}
.fb-mobile-toggle.is-open .fb-hamburger-box .icon-open {
    display: none;
}
.fb-mobile-toggle.is-open .fb-hamburger-box .icon-close {
    display: inline-block;
}

.fb-mobile-toggle-label {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Backdrop Overlay */
.fb-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 11, 38, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.fb-mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Slide-over Drawer Panel */
.fb-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 380px);
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    box-shadow: -12px 0 40px rgba(15, 11, 38, 0.18);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    overflow: hidden;
}
.fb-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

/* Drawer Top Bar */
.drawer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #EEF0F6;
    background: #FFFFFF;
    flex-shrink: 0;
}
.drawer-brand-link {
    display: inline-flex;
    align-items: center;
}
.drawer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}
.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F4F5FA;
    border: 1px solid #E5E7F0;
    color: var(--color-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drawer-close-btn:hover {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #DC2626;
    transform: rotate(90deg);
}

/* Drawer Scrollable Body */
.drawer-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
}

/* 1. User Account Card (Logged In) */
.drawer-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F8F6FF 0%, #F1EEFF 100%);
    border: 1px solid rgba(80, 40, 243, 0.16);
    box-shadow: 0 4px 14px rgba(80, 40, 243, 0.06);
}
.drawer-user-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.drawer-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-gradient);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(80, 40, 243, 0.25);
}
.drawer-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.drawer-user-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid #FFFFFF;
}
.drawer-user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.drawer-user-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.drawer-user-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}
.drawer-role-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}
.drawer-role-pill.is-admin {
    background: rgba(80, 40, 243, 0.15);
    color: #5028F3;
}
.drawer-user-email {
    font-size: 12px;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drawer-user-edit-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(80, 40, 243, 0.2);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.drawer-user-edit-btn:hover {
    background: var(--color-accent);
    color: #FFFFFF;
}

/* Guest Welcome Card (Logged Out) */
.drawer-guest-card {
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #29235C 0%, #3E2199 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(41, 35, 92, 0.18);
}
.drawer-guest-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.drawer-guest-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #FACC15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.drawer-guest-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 3px;
}
.drawer-guest-text p {
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
.drawer-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.drawer-btn-login,
.drawer-btn-signup {
    height: 40px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drawer-btn-login {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}
.drawer-btn-login:hover {
    background: rgba(255, 255, 255, 0.22);
}
.drawer-btn-signup {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    color: #3E2199;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.drawer-btn-signup:hover {
    background: #F5F3FF;
    transform: translateY(-1px);
}

/* 2. Search & City Filter inside Drawer */
.drawer-search-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #F8F9FC;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #EAECF4;
}
.fb-mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #DCE0EE;
    padding: 9px 12px;
    border-radius: 10px;
    margin-bottom: 0;
    transition: all 0.2s ease;
}
.fb-mobile-search:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(80, 40, 243, 0.1);
}
.fb-mobile-search .search-ico {
    color: var(--color-muted);
    font-size: 14px;
}
.fb-mobile-search input {
    width: 100%;
    font-size: 13.5px;
    color: var(--color-ink);
    background: transparent;
}
.drawer-city-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #DCE0EE;
    padding: 7px 12px;
    border-radius: 10px;
}
.drawer-city-selector-wrap .city-ico {
    color: var(--color-accent);
    font-size: 13px;
}
.drawer-city-select {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    outline: none;
}

/* 3. Categorized Navigation Groups */
.drawer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #8C92AC;
    padding: 0 6px;
}
.drawer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #F0F2F8;
    color: var(--color-ink);
    transition: all 0.2s ease;
    text-decoration: none;
}
.drawer-nav-item:hover {
    background: #F8F7FF;
    border-color: rgba(80, 40, 243, 0.24);
    transform: translateX(2px);
}
.drawer-nav-item.is-active {
    background: linear-gradient(135deg, rgba(80, 40, 243, 0.09) 0%, rgba(124, 58, 237, 0.06) 100%);
    border-color: rgba(80, 40, 243, 0.32);
}
.drawer-nav-item.is-active .drawer-item-label {
    color: var(--color-accent);
}
.drawer-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.drawer-item-icon.icon-purple {
    background: rgba(80, 40, 243, 0.1);
    color: #5028F3;
}
.drawer-item-icon.icon-indigo {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
}
.drawer-item-icon.icon-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
}
.drawer-item-icon.icon-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.drawer-item-icon.icon-blue {
    background: rgba(14, 165, 233, 0.12);
    color: #0284C7;
}
.drawer-item-icon.icon-violet {
    background: rgba(139, 92, 246, 0.12);
    color: #7C3AED;
}
.drawer-item-icon.icon-pink {
    background: rgba(236, 72, 153, 0.12);
    color: #DB2777;
}
.drawer-item-icon.icon-admin {
    background: linear-gradient(135deg, #5028F3 0%, #8B5CF6 100%);
    color: #FFFFFF;
}
.drawer-item-admin {
    background: #F6F3FF;
    border-color: rgba(80, 40, 243, 0.22);
}

.drawer-item-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.drawer-item-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.drawer-item-sub {
    font-size: 11.5px;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drawer-item-arrow {
    font-size: 12px;
    color: #B0B5C9;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.drawer-nav-item:hover .drawer-item-arrow {
    transform: translateX(2px);
    color: var(--color-accent);
}

/* Drawer Footer */
.drawer-footer {
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #EEF0F6;
    background: #FAFBFD;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.drawer-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.drawer-logout-btn:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
}
.drawer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
    padding: 4px 2px 2px;
}
.drawer-legal-link {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-ink-light);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 6px;
    transition: color 0.18s ease, background 0.18s ease;
}
.drawer-legal-link:hover,
.drawer-legal-link:active {
    color: var(--color-accent);
    background: rgba(80, 40, 243, 0.08);
}
.drawer-legal-dot {
    font-size: 11px;
    color: #C2C7DA;
    user-select: none;
}
.drawer-footer-meta {
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #949AB1;
}

/* Top Verification Notice Banner */
.aspparty-top-notice {
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}
.aspparty-top-notice.notice-warning {
    background: #FFFBEB;
    color: #92400E;
    border-color: #FDE68A;
}
.aspparty-top-notice.notice-success {
    background: #ECFDF5;
    color: #065F46;
    border-color: #A7F3D0;
}
.notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-notice-action {
    background: #92400E;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
}

/* User Dropdown */
.fb-profile-dropdown-wrap {
    position: relative;
}
.fb-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 250px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    display: none;
    flex-direction: column;
    z-index: 1010;
}
.fb-dropdown-menu.is-open {
    display: flex;
}
.fb-dropdown-header {
    padding: 8px 10px;
}
.fb-dropdown-header strong {
    display: block;
    color: var(--color-ink);
}
.fb-dropdown-header small {
    color: var(--color-muted);
}
.fb-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 8px 0;
}
.fb-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink);
}
.fb-dropdown-item:hover {
    background: var(--color-surface);
    color: var(--color-accent);
}
.fb-dropdown-item.fb-logout {
    color: #DC2626;
}

/* ==========================================================================
   HERO & ANNOUNCEMENT BAR
   ========================================================================== */
.aspparty-hero-section {
    padding: 40px 0 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
}

.hero-header-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-pill-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
}

.hero-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-live-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink-light);
}

.hero-main-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-ink);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-sub-text {
    font-size: 17px;
    color: var(--color-muted);
    max-width: 580px;
    line-height: 1.5;
}

/* Owner CTA Hero Box */
.hero-owner-card {
    background: linear-gradient(135deg, #F8F9FD 0%, #FFFFFF 100%);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.hero-owner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-gradient);
}
.owner-card-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.owner-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.owner-texts h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 4px;
}
.owner-texts p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.4;
}
.btn-owner-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-ink);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}
.btn-owner-action:hover {
    background: var(--color-accent);
    color: #FFFFFF;
}

/* Filters Bar */
.aspparty-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.filter-city-pills {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}
.filter-pill {
    background: transparent;
    color: var(--color-muted);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-pill:hover {
    color: var(--color-ink);
}
.filter-pill.is-active {
    background: #FFFFFF;
    color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(41, 35, 92, 0.08);
}

.filter-genre-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.genre-pill {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.genre-pill:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.genre-pill.is-active {
    background: var(--color-ink);
    color: #FFFFFF;
    border-color: var(--color-ink);
}

/* ==========================================================================
   3-COLUMN FESTAS GRID & CARDS
   ========================================================================== */
.aspparty-listing-section {
    padding: 48px 0;
    background: #FFFFFF;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-ink);
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 15px;
    color: var(--color-muted);
    margin-top: 4px;
}
.listing-counter {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(80, 40, 243, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.see-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* STRICT 3-COLUMN GRID */
.festas-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.festa-card-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0F0B28;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.festa-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.festa-card-inner {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.festa-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.festa-card-item:hover .festa-card-bg {
    transform: scale(1.05);
}

/* Card Top Bar (Holds Mini Card and Date Pill side by side without overlapping) */
.festa-card-top-bar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}
.festa-card-top-bar > * {
    pointer-events: auto;
}
.festa-org-minicard-spacer {
    flex: 1;
}

.festa-org-minicard {
    position: relative;
    top: auto;
    left: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    padding: 6px 12px 6px 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
    max-width: fit-content;
}
.festa-org-minicard:hover {
    background: #FFFFFF;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.org-minicard-avatar {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}
.org-minicard-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-accent);
    background: #FFFFFF;
    display: block;
}

.org-minicard-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.org-minicard-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.org-minicard-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 135px;
}
.org-verified-badge {
    color: var(--color-accent);
    font-size: 12px;
    flex-shrink: 0;
}
.org-minicard-city {
    font-size: 11px;
    color: var(--color-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sector-dots-preview {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
}
.sector-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

.festa-date-pill {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    white-space: nowrap;
    background: rgba(15, 11, 40, 0.82);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.festa-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--color-gradient-card);
    padding: 24px;
    color: #FFFFFF;
}

.festa-overlay-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.festa-meta-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}
.tag-city i, .tag-time i {
    margin-right: 4px;
    color: var(--color-accent-blue);
}

.festa-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.festa-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.festa-price-box small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
}
.festa-price-box .price-val {
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
}

.btn-card-buy {
    background: var(--color-gradient);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.4);
    transition: transform 0.2s ease;
}
.btn-card-buy:hover {
    transform: scale(1.05);
}

.no-festas-box {
    background: var(--color-surface);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
}
.empty-icon {
    font-size: 46px;
    color: var(--color-muted);
    margin-bottom: 12px;
}

/* ==========================================================================
   ORGANIZATIONS DIRECTORY & PROFILE (AVATAR LAYER FIX!)
   ========================================================================== */
.aspparty-orgs-section {
    padding: 48px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.orgs-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.org-preview-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.org-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.org-card-avatar-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.org-card-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
    background: #FFFFFF;
    display: block;
}

.org-card-texts h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
}
.org-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.verified-icon {
    color: var(--color-accent);
    font-size: 13px;
}
.org-card-loc {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
    margin: 2px 0;
}
.org-card-festas-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
}

.aspparty-page-header {
    background: linear-gradient(180deg, var(--color-surface) 0%, #FFFFFF 100%);
    padding: 44px 0 32px;
    border-bottom: 1px solid var(--color-border);
}
.page-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 12px 0 8px;
    letter-spacing: -0.5px;
}
.page-subtitle {
    font-size: 17px;
    color: var(--color-muted);
    max-width: 640px;
}
.org-filter-city-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.aspparty-orgs-full-section {
    padding: 48px 0;
    background: #FFFFFF;
}

.orgs-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.org-card-full {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.org-card-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.org-card-banner {
    height: 110px;
    background: var(--color-gradient);
    position: relative;
    z-index: 1;
    padding: 12px 16px;
}
.org-banner-city-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
}

.org-card-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 3;
}

/* FIXED: Avatar floats cleanly IN FRONT of the banner with attached badge */
.org-card-avatar-float {
    width: 78px;
    height: 78px;
    margin-top: -40px;
    margin-bottom: 14px;
    position: relative;
    z-index: 10;
}
.org-card-avatar-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: var(--shadow-md);
    background: #FFFFFF;
    object-fit: cover;
    display: block;
}

.org-card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.org-title-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-ink);
}
.verified-icon-inline {
    color: var(--color-accent);
    font-size: 16px;
}
.org-address-line {
    font-size: 13px;
    color: var(--color-muted);
    margin: 4px 0 12px;
}
.org-desc-snippet {
    font-size: 14px;
    color: var(--color-ink-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.org-social-links {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.org-social-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ig-btn {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}
.wa-btn {
    background: rgba(37, 211, 102, 0.12);
    color: #075E54;
}

.org-upcoming-preview {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 20px;
}
.upcoming-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 6px;
}
.upcoming-festas-mini-list {
    list-style: none;
    font-size: 13px;
}
.upcoming-festas-mini-list li {
    padding: 4px 0;
    border-bottom: 1px dashed var(--color-border);
}
.upcoming-festas-mini-list li:last-child {
    border-bottom: none;
}
.upcoming-festas-mini-list a {
    display: flex;
    justify-content: space-between;
    color: var(--color-ink);
    gap: 8px;
}
.mini-date {
    font-size: 11px;
    color: var(--color-muted);
    white-space: nowrap;
}

.org-card-actions {
    margin-top: auto;
}

.org-owner-banner-cta {
    background: var(--color-gradient);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #FFFFFF;
    margin-top: 48px;
    box-shadow: var(--shadow-lg);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-texts h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}
.cta-texts p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}
.btn-owner-white {
    background: #FFFFFF;
    color: var(--color-accent);
    font-weight: 800;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}
.btn-owner-white:hover {
    transform: translateY(-2px);
}

/* Single Organization Profile Page - Desktop & Responsive Polish */
.org-pending-warning-banner {
    background: #FFFBEB;
    border-bottom: 1.5px solid #FDE68A;
    padding: 14px 0;
}
.pending-warning-content {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #92400E;
}
.pending-warning-content i {
    font-size: 24px;
    color: #D97706;
    flex-shrink: 0;
}
.pending-warning-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}
.pending-warning-content p {
    margin: 0;
    font-size: 13px;
    color: #B45309;
}

.org-single-hero {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 36px;
}
.org-single-cover {
    height: 220px;
    background: linear-gradient(135deg, #120338 0%, #30148E 45%, #5028F3 80%, #7C3AED 100%);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 24px;
    overflow: hidden;
}
.org-single-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.org-cover-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.org-cover-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.org-cover-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}
.org-cover-back-link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateX(-3px);
}
.org-cover-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.org-profile-card-header {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}
.org-profile-avatar-wrapper {
    position: relative;
    width: 136px;
    height: 136px;
    margin-top: -68px;
    flex-shrink: 0;
    z-index: 10;
}
.org-profile-avatar-box {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #FFFFFF;
}
.org-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.org-profile-main-meta {
    flex: 1;
    min-width: 280px;
    padding-top: 14px;
}
.org-profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.org-profile-name {
    font-size: 34px;
    font-weight: 900;
    color: var(--color-ink);
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.org-profile-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    align-items: center;
}
.org-pill-verified {
    background: #FAF5FF !important;
    border-color: #D8B4FE !important;
    color: #6B21A8 !important;
    font-weight: 700;
}
.org-pill-verified i {
    color: #5028F3 !important;
}
.org-profile-address {
    font-size: 14px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.org-profile-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 14px;
}
.btn-org-contact {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-org-contact.wa {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.btn-org-contact.wa:hover {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-org-contact.ig {
    background: #FDF2F8;
    color: #9D174D;
    border: 1px solid #FBCFE8;
}
.btn-org-contact.ig:hover {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 42, 123, 0.35);
}

.org-single-content-wrap {
    padding: 44px 0 80px;
    background: #FBFBFE;
}
.org-single-about-box {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.about-box-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 36px;
    align-items: stretch;
}
.about-box-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.about-box-title-row i {
    font-size: 20px;
    color: #5028F3;
}
.about-box-title-row h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0;
}
.org-single-description {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.7;
}
.org-single-description p {
    margin: 0 0 12px;
}
.org-single-description p:last-child {
    margin-bottom: 0;
}
.org-stats-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: center;
}
.org-stat-box {
    background: #F8F9FE;
    border: 1.5px solid #EDEEF8;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.org-stat-box:hover {
    border-color: #C7D2FE;
    background: #F1F4FF;
    transform: translateY(-2px);
}
.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #5028F3;
    line-height: 1.2;
    margin-bottom: 4px;
}
.stat-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Base attached verified badge on avatar (glued to bottom-right corner) */
.avatar-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #5028F3;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 5px rgba(80, 40, 243, 0.45);
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}
.avatar-verified-badge i {
    color: #FFFFFF !important;
    font-size: inherit;
    line-height: 1;
}

/* Scale badge according to avatar size */
.org-minicard-avatar .avatar-verified-badge {
    width: 15px;
    height: 15px;
    font-size: 8.5px;
    bottom: -1px;
    right: -1px;
    border: 1.5px solid #FFFFFF;
}
.org-card-avatar-wrap .avatar-verified-badge {
    width: 20px;
    height: 20px;
    font-size: 11px;
    bottom: 0px;
    right: 0px;
    border: 2px solid #FFFFFF;
}
.detail-org-avatar .avatar-verified-badge {
    width: 22px;
    height: 22px;
    font-size: 12px;
    bottom: 1px;
    right: 1px;
    border: 2px solid #FFFFFF;
}
.org-card-avatar-float .avatar-verified-badge {
    width: 24px;
    height: 24px;
    font-size: 13px;
    bottom: 2px;
    right: 2px;
    border: 2.5px solid #FFFFFF;
}
.existing-org-avatar .avatar-verified-badge {
    width: 22px;
    height: 22px;
    font-size: 12px;
    bottom: 1px;
    right: 1px;
    border: 2px solid #FFFFFF;
}
.org-profile-avatar-wrapper .avatar-verified-badge {
    width: 34px;
    height: 34px;
    font-size: 17px;
    bottom: 4px;
    right: 4px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.5);
}

/* Event single hero back-button */
.single-hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.single-hero-back-link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateX(-3px);
}

/* ==========================================================================
   SINGLE FESTA, EVENT MAP & COLOR-TAGGED TICKETS
   ========================================================================== */
.single-festa-hero {
    position: relative;
    min-height: 440px;
    height: auto;
    display: flex;
    align-items: flex-end;
    padding-top: 100px;
    padding-bottom: 48px;
    background: #0F0B28;
    overflow: hidden;
}
.single-festa-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.single-festa-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(15,11,40,0.85) 60%, rgba(15,11,40,0.98) 100%);
}
.single-hero-container {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}
.single-hero-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.btn-share-hero {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-share-hero:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}
.single-festa-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.single-festa-meta-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.meta-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: var(--radius-md);
}
.meta-card-item i {
    font-size: 20px;
    color: var(--color-accent-blue);
}
.meta-card-item small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}
.meta-card-item strong {
    font-size: 14px;
    color: #FFFFFF;
}

.single-festa-main-layout {
    padding: 48px 0;
    background: #FFFFFF;
}
.festa-details-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.festa-detail-org-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
.detail-org-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}
.detail-org-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.detail-org-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: #FFFFFF;
    object-fit: cover;
    display: block;
}
.detail-org-info {
    flex: 1;
    min-width: 0;
}
.detail-org-info small {
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 600;
}
.detail-org-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.detail-org-name-row h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
}
.detail-org-loc {
    font-size: 13px;
    color: var(--color-muted);
    display: block;
    margin-top: 2px;
}
.btn-detail-org-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.btn-detail-org-link:hover {
    border-color: var(--color-accent);
    background: rgba(80, 40, 243, 0.04);
}

/* Event Map Box */
.festa-map-box {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}
.festa-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.festa-map-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.map-legend-hint {
    font-size: 13px;
    color: var(--color-muted);
}
.festa-map-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    margin-bottom: 16px;
}
.festa-map-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    margin: 0 auto;
}
.festa-map-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-ink-light);
    font-size: 14px;
    margin-bottom: 14px;
}
.map-sectors-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.legend-sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
    box-shadow: 0 2px 6px rgba(41, 35, 92, 0.04);
    transition: transform 0.15s ease;
}
.legend-sector-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 35, 92, 0.08);
}
.legend-color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px rgba(0,0,0,0.12);
}
.legend-sector-name {
    color: var(--color-ink);
}

.festa-desc-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 16px;
}
.festa-editorial-content p {
    margin-bottom: 16px;
    color: var(--color-ink-light);
}
.festa-editorial-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 24px 0 12px;
}

/* Sidebar Checkout Widget */
.ticket-checkout-sidebar-box {
    position: sticky;
    top: 88px;
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.sidebar-box-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.sidebar-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 6px;
}
.price-currency {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-ink);
}
.price-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-ink);
}
.price-period {
    font-size: 14px;
    color: var(--color-muted);
}

.sidebar-tiers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.sidebar-tier-option {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 10px;
}
.sidebar-tier-option:hover {
    border-color: var(--color-accent);
    background: var(--color-surface);
}
.sidebar-tier-option.is-active {
    border-color: var(--color-accent);
    background: rgba(80, 40, 243, 0.05);
}
.tier-left-with-color {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tier-color-tag {
    width: 14px;
    height: 34px;
    border-radius: 6px;
    flex-shrink: 0;
}
.tier-left strong {
    display: block;
    font-size: 15px;
    color: var(--color-ink);
}
.tier-left small {
    font-size: 12px;
    color: var(--color-muted);
}
.tier-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-accent);
    white-space: nowrap;
}

.btn-large-buy {
    font-size: 16px;
    padding: 16px 24px;
}
.safe-buy-note {
    text-align: center;
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 10px;
}
.btn-share-sidebar {
    width: 100%;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: #FFFFFF;
    color: var(--color-ink);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-share-sidebar:hover {
    background: var(--color-surface);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn-share-sidebar svg,
.btn-share-sidebar i {
    font-size: 15px;
    color: var(--color-accent);
}
.sidebar-venue-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 24px;
    font-size: 13px;
}
.sidebar-venue-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 4px;
}

/* ==========================================================================
   FORMS, PHONE DDI, AUTOCOMPLETE, MAP UPLOAD & COLOR TICKET BUILDER
   ========================================================================== */
.aspparty-form-page-section {
    padding: 48px 0 80px;
    background: var(--color-surface);
}
.form-page-container {
    max-width: 820px;
}
.form-page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 12px 0 8px;
}
.form-page-subtitle {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 32px;
}

.form-card-box {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-section-legend {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-legend i {
    color: var(--color-accent);
}

.aspparty-form .form-group {
    margin-bottom: 20px;
}
.aspparty-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.aspparty-form input[type="text"],
.aspparty-form input[type="email"],
.aspparty-form input[type="password"],
.aspparty-form input[type="number"],
.aspparty-form input[type="url"],
.aspparty-form input[type="tel"],
.aspparty-form input[type="date"],
.aspparty-form input[type="time"],
.aspparty-form select,
.aspparty-form textarea {
    width: 100%;
    min-height: 50px;
    height: auto;
    background-color: #FAFBFD;
    border: 1.5px solid #DFE3F0;
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--color-ink);
    box-shadow: 0 1px 2px rgba(41, 35, 92, 0.03);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.aspparty-form input::placeholder,
.aspparty-form textarea::placeholder {
    color: #9398B4;
    font-weight: 400;
    opacity: 1;
}
.aspparty-form input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):not([readonly]):hover,
.aspparty-form select:hover,
.aspparty-form textarea:hover {
    border-color: #C2C8E0;
    background-color: #FFFFFF;
}
.aspparty-form input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):focus,
.aspparty-form select:focus,
.aspparty-form textarea:focus {
    background-color: #FFFFFF;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(80, 40, 243, 0.12), 0 4px 12px rgba(80, 40, 243, 0.08);
}
.aspparty-form input[readonly]:not(#checkout-qty) {
    background-color: #F2F4FA;
    color: var(--color-ink-light);
    cursor: default;
}
.aspparty-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 13px 42px 13px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235028F3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.aspparty-form textarea {
    min-height: 96px;
    padding: 14px 16px;
    line-height: 1.55;
    resize: vertical;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrap i {
    position: absolute;
    left: 15px;
    color: var(--color-muted);
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}
.input-icon-wrap:focus-within i:not(.fa-instagram) {
    color: var(--color-accent);
}
.input-icon-wrap input {
    padding-left: 42px !important;
}

/* Phone DDI Group */
.phone-ddi-group {
    display: flex;
    gap: 8px;
}
.phone-ddi-group .ddi-select {
    width: 120px !important;
    flex-shrink: 0;
    font-weight: 700;
    min-height: 50px;
    background-color: #F2F4FB !important;
    padding: 13px 32px 13px 12px !important;
    background-position: right 10px center !important;
}
.phone-ddi-group .ddi-select:focus {
    background-color: #FFFFFF !important;
}
.phone-ddi-group .phone-masked-input {
    flex: 1;
}

/* Personal Document Type Group (CPF / CI / RUT) & Company Doc Group (CNPJ / RUT) */
.doc-type-group,
.org-doc-type-group {
    display: flex;
    gap: 8px;
}
.doc-type-group .doc-type-select,
.org-doc-type-group .org-doc-type-select,
#aspparty-auth-modal .org-doc-type-group .org-doc-type-select {
    width: 152px !important;
    min-width: 140px;
    flex-shrink: 0;
    font-weight: 700;
    min-height: 50px;
    background-color: #F2F4FB !important;
    padding: 13px 28px 13px 12px !important;
    background-position: right 9px center !important;
    font-size: 13px !important;
}
.doc-type-group .doc-type-select:focus,
.org-doc-type-group .org-doc-type-select:focus,
#aspparty-auth-modal .org-doc-type-group .org-doc-type-select:focus {
    background-color: #FFFFFF !important;
}
.doc-type-group .aspparty-doc-input,
.org-doc-type-group .org-doc-masked-input {
    flex: 1;
    min-width: 0;
}
#checkout-doc-hint,
#perfil-doc-hint {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    color: var(--color-muted);
    font-weight: 500;
}

/* Address Autocomplete */
.address-autocomplete-wrap {
    position: relative;
}
.address-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    max-height: 240px;
    overflow-y: auto;
    display: none;
}
.address-suggestions-dropdown.is-open {
    display: block;
}
.address-suggestion-item {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--color-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--color-surface);
}
.address-suggestion-item:hover {
    background: var(--color-surface);
    color: var(--color-accent);
}
.address-suggestion-item small {
    color: var(--color-muted);
    display: block;
    font-size: 12px;
}

/* Drop Zone for Cover & Event Map */
.upload-drop-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: var(--color-surface);
    transition: all 0.2s ease;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload-drop-zone:hover {
    border-color: var(--color-accent);
    background: rgba(80, 40, 243, 0.04);
}
.upload-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
}
.upload-preview-placeholder i {
    font-size: 28px;
    color: var(--color-accent);
}
.upload-preview-img {
    max-height: 140px;
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

/* Ticket Tiers Builder with Color Tags */
.ticket-tiers-builder {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tier-builder-row {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: grid;
    grid-template-columns: 165px 1.2fr 158px 1.3fr 36px;
    gap: 12px;
    align-items: start;
}
.color-picker-combo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
}
.tier-color-input {
    width: 38px !important;
    height: 38px !important;
    padding: 2px !important;
    border-radius: 8px !important;
    cursor: pointer;
}
.color-swatches-quick {
    display: flex;
    gap: 4px;
}
.swatch-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.btn-remove-tier {
    width: 36px;
    height: 46px;
    margin-top: 26px;
    border-radius: var(--radius-sm);
    background: #FEE2E2;
    color: #DC2626;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #FECACA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s ease;
}
.btn-remove-tier:hover {
    background: #FECACA;
}

.form-row {
    display: flex;
    gap: 16px;
}
.col-6, .col-4 {
    flex: 1;
    min-width: 0;
}
.text-center {
    text-align: center;
}
.text-muted {
    color: var(--color-muted);
}
.mt-4 {
    margin-top: 24px;
}
.form-hint {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 4px;
}
.form-hint a {
    color: var(--color-accent);
    font-weight: 700;
}

.form-feedback {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    display: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
}
.form-feedback.is-error {
    display: block;
    background: #FEE2E2;
    color: #DC2626;
}
.form-feedback.is-success {
    display: block;
    background: #D1FAE5;
    color: #059669;
}

.alert-box-warning {
    background: #FFFBEB;
    border: 1.5px solid #FDE68A;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.alert-icon {
    font-size: 26px;
    color: #D97706;
    margin-top: 2px;
}
.alert-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #92400E;
    margin-bottom: 4px;
}
.alert-content p {
    font-size: 14px;
    color: #78350F;
}

/* Existing Orgs Banner */
.my-existing-orgs-banner {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.my-existing-orgs-banner h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.existing-orgs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}
.existing-org-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    gap: 16px;
    transition: all 0.2s ease;
}
.existing-org-item:hover {
    border-color: rgba(80, 40, 243, 0.3);
    background: #FFFFFF;
}
.existing-org-info {
    flex: 1;
    min-width: 0;
}
.existing-org-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.existing-org-title-row strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-ink);
}
.org-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
}
.org-status-badge.pending {
    background: #FEF3C7;
    color: #92400E;
}
.org-status-badge.approved {
    background: #ECFDF5;
    color: #047857;
}
.existing-org-address {
    display: block;
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 6px;
}
.existing-org-meta-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.meta-split-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 2px 9px;
    border-radius: var(--radius-full);
    color: var(--color-ink-light);
}
.meta-mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-weight: 700;
}
.meta-mp-pill.connected {
    background: #ECFDF5;
    color: #047857;
}
.meta-mp-pill.pending {
    background: #EFF6FF;
    color: #1D4ED8;
}
.existing-org-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.btn-sm-outline {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: var(--color-ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-sm-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.btn-sm-gradient {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    background: var(--color-gradient);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.2);
}
.btn-connect-mp {
    border-color: #009EE3 !important;
    color: #009EE3 !important;
    background: #F0F9FF !important;
    font-weight: 700;
}
.btn-connect-mp:hover {
    background: #009EE3 !important;
    color: #FFFFFF !important;
    border-color: #009EE3 !important;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.25);
}
.btn-connect-mp svg,
.btn-mp-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: fill 0.2s ease, transform 0.2s ease;
}
.btn-connect-mp:hover svg {
    transform: scale(1.08);
}
.meta-mp-svg {
    flex-shrink: 0;
}

/* ==========================================================================
   USER TICKETS & LEGAL PAGES
   ========================================================================== */
.aspparty-tickets-page-section {
    padding: 48px 0 80px;
    background: var(--color-surface);
    min-height: 70vh;
}
.user-tickets-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 32px auto 0;
}

.user-ticket-card {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: stretch;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.ticket-stub-left {
    flex: 1.8;
    padding: 24px;
}
.ticket-type-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-ink);
    background: var(--color-surface);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
}
.ticket-event-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 8px;
}
.ticket-details-meta p {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 4px;
}
.ticket-details-meta i {
    width: 18px;
    color: var(--color-accent-blue);
}

.ticket-stub-divider {
    position: relative;
    width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.dash-line {
    width: 1px;
    height: 100%;
    border-left: 2px dashed var(--color-border);
}
.notch {
    width: 24px;
    height: 12px;
    background: var(--color-surface);
    position: absolute;
    z-index: 2;
}
.notch-top {
    top: -1px;
    border-radius: 0 0 24px 24px;
    border-bottom: 1.5px solid var(--color-border);
}
.notch-bottom {
    bottom: -1px;
    border-radius: 24px 24px 0 0;
    border-top: 1.5px solid var(--color-border);
}

.ticket-stub-right {
    flex: 1;
    background: var(--color-surface);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ticket-code-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: 0.5px;
}
.badge-status-active {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    background: #D1FAE5;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin: 4px 0 8px;
}
.badge-status-pending {
    font-size: 11px;
    font-weight: 800;
    color: #92400E;
    background: #FEF3C7;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin: 4px 0 8px;
}
.ticket-hash {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 12px;
}
.btn-show-qr {
    font-size: 13px;
    padding: 8px 16px;
}

.no-tickets-info-card {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    max-width: 600px;
    margin: 32px auto;
}
.empty-ticket-icon {
    font-size: 54px;
    color: var(--color-muted);
    margin-bottom: 16px;
    opacity: 0.6;
}

/* Legal Pages */
.aspparty-legal-section {
    padding: 48px 0 80px;
    background: #FFFFFF;
}
.legal-card-box {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.legal-card-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 28px 0 12px;
}
.legal-card-box h2:first-child {
    margin-top: 0;
}
.legal-card-box p {
    color: var(--color-ink-light);
    margin-bottom: 14px;
    line-height: 1.7;
}
.legal-card-box ul {
    margin: 0 0 18px 22px;
    color: var(--color-ink-light);
}
.legal-card-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.aspparty-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 11, 40, 0.72);
    backdrop-filter: blur(6px);
}
.modal-card {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    max-height: 92vh;
    overflow-y: auto;
}
.modal-checkout-wide {
    max-width: 680px;
}
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--color-muted);
    cursor: pointer;
}
.modal-header-brand {
    text-align: center;
    margin-bottom: 20px;
}
.modal-brand-logo {
    height: 36px;
    margin: 0 auto;
}

/* Share Modal */
.share-modal-card {
    max-width: 480px;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(80, 40, 243, 0.08);
}
.share-modal-header {
    text-align: center;
    margin-bottom: 22px;
}
.share-modal-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(80, 40, 243, 0.08);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}
.share-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 6px;
}
.share-modal-subtitle {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.45;
    margin: 0;
}
.share-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 6px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.share-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}
.share-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFFFF;
    transition: transform 0.2s ease;
}
.share-social-btn:hover .share-btn-icon {
    transform: scale(1.08);
}
.share-wa .share-btn-icon {
    background: #25D366;
}
.share-wa:hover {
    border-color: #25D366;
    color: #128C7E;
}
.share-fb .share-btn-icon {
    background: #1877F2;
}
.share-fb:hover {
    border-color: #1877F2;
    color: #1877F2;
}
.share-x .share-btn-icon {
    background: #000000;
}
.share-x:hover {
    border-color: #000000;
    color: #000000;
}
.share-ig .share-btn-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.share-ig:hover {
    border-color: #dc2743;
    color: #bc1888;
}
.share-instagram-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(220, 39, 67, 0.08);
    border: 1px solid rgba(220, 39, 67, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--color-ink);
}
.share-instagram-notice i.fa-circle-check {
    color: #dc2743;
    font-size: 18px;
    margin-top: 2px;
}
.share-instagram-notice strong {
    display: block;
    font-size: 13.5px;
    color: #bc1888;
    margin-bottom: 3px;
}
.share-instagram-notice p {
    margin: 0 0 8px;
    line-height: 1.4;
    color: var(--color-ink);
}
.btn-open-ig {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #bc1888;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-open-ig:hover {
    background: #9b136f;
    color: #FFFFFF;
}
.share-link-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px;
}
.share-link-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.share-link-input-group {
    display: flex;
    gap: 8px;
}
.share-link-input-group input {
    flex: 1;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    color: var(--color-ink);
}
.btn-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--color-accent);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-copy-link:hover {
    background: #3e1ecc;
    transform: translateY(-1px);
}
.btn-copy-link.copied {
    background: #00BA88;
}

#aspparty-auth-modal .modal-card {
    max-width: 500px;
    padding: 24px 26px;
    transition: max-width 0.25s ease;
}
#aspparty-auth-modal .modal-card.is-org-mode {
    max-width: 720px;
}
.auth-org-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 6px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}
.auth-org-section-title i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F3F0FF;
    color: #5028F3;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#aspparty-auth-modal .modal-header-brand {
    margin-bottom: 14px;
}
#aspparty-auth-modal .modal-brand-logo {
    max-height: 38px;
    width: auto;
}
#aspparty-auth-modal .auth-tabs {
    margin-bottom: 18px;
}
#aspparty-auth-modal .profile-type-selector {
    margin-bottom: 18px;
    gap: 12px;
}
#aspparty-auth-modal .type-card {
    padding: 12px 14px;
    min-height: 58px;
}
#aspparty-auth-modal .type-card strong {
    font-size: 13.5px;
    margin-bottom: 2px;
}
#aspparty-auth-modal .type-card small {
    font-size: 11px;
}
#aspparty-auth-modal .form-group {
    margin-bottom: 16px;
}
#aspparty-auth-modal .form-group label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
    line-height: 1.35;
    display: block;
}
#aspparty-auth-modal .aspparty-form input:not([type="file"]):not([type="radio"]):not([type="checkbox"]) {
    min-height: 48px;
    height: auto;
    padding: 12px 15px;
    font-size: 14.5px;
    line-height: 1.45;
}
#aspparty-auth-modal .aspparty-form select {
    min-height: 48px;
    height: auto;
    padding: 12px 42px 12px 15px;
    font-size: 14.5px;
    line-height: 1.45;
}
#aspparty-auth-modal .aspparty-form textarea {
    padding: 12px 15px;
    font-size: 14.5px;
    line-height: 1.5;
    min-height: 84px;
}
#aspparty-auth-modal .aspparty-form input[type="file"] {
    padding: 10px 12px;
    font-size: 13px;
}
#aspparty-auth-modal .form-row {
    margin-bottom: 0;
}
#aspparty-auth-modal .btn-primary-gradient {
    min-height: 48px;
    height: auto;
    padding: 13px 20px;
    font-size: 15px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 20px;
}
.auth-tab-btn {
    flex: 1;
    background: transparent;
    padding: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-muted);
    cursor: pointer;
    position: relative;
}
.auth-tab-btn.is-active {
    color: var(--color-accent);
}
.auth-tab-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gradient);
}

.profile-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
.type-card {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    transition: all 0.2s ease;
    user-select: none;
    min-height: 64px;
}
.type-card:hover {
    border-color: #C7D2FE;
    background: #FAF9FF;
    transform: translateY(-1px);
}
.type-card i {
    font-size: 22px;
    color: var(--color-muted);
    flex-shrink: 0;
    transition: color 0.2s ease;
}
.type-card strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 2px;
    line-height: 1.2;
}
.type-card small {
    display: block;
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.35;
}
.type-card.is-selected {
    border-color: var(--color-accent);
    background: rgba(80, 40, 243, 0.05);
    box-shadow: 0 0 0 1px var(--color-accent);
}
.type-card.is-selected i {
    color: var(--color-accent);
}

/* Ticket Checkout Modal */
.checkout-header {
    margin-bottom: 16px;
}
.checkout-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin-top: 6px;
}
.ticket-tier-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tier-card {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tier-card.is-active {
    border-color: var(--color-accent);
    background: rgba(80, 40, 243, 0.05);
}
.tier-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tier-color-pill {
    width: 12px;
    height: 30px;
    border-radius: 6px;
    flex-shrink: 0;
}
.tier-info strong {
    display: block;
    font-size: 14px;
    color: var(--color-ink);
}
.tier-info small {
    font-size: 12px;
    color: var(--color-muted);
}
.tier-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-accent);
}

.checkout-reg-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(80, 40, 243, 0.06);
    border: 1px solid rgba(80, 40, 243, 0.18);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 16px;
}
.checkout-reg-notice.logged {
    background: #ECFDF5;
    border-color: #A7F3D0;
}
.checkout-reg-notice i {
    color: var(--color-accent);
    font-size: 18px;
    margin-top: 2px;
}
.checkout-reg-notice.logged i {
    color: #059669;
}
.checkout-reg-notice strong {
    display: block;
    font-size: 13px;
    color: var(--color-ink);
}
.checkout-reg-notice small {
    font-size: 12px;
    color: var(--color-muted);
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 120px;
}
.qty-stepper button {
    background: var(--color-surface);
    color: var(--color-ink);
    width: 36px;
    height: 40px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}
.qty-stepper input {
    width: 48px;
    min-height: 0 !important;
    height: 40px !important;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.checkout-total-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 40px;
}
.payment-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    margin: 12px 0 18px;
}

/* Digital Pass Modal (QR Code) */
.ticket-pass-card {
    max-width: 420px;
    text-align: center;
    padding: 0;
    overflow: hidden;
}
.ticket-pass-header {
    background: var(--color-gradient);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ticket-logo {
    height: 28px;
    filter: brightness(0) invert(1);
}
.ticket-status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.ticket-pass-body {
    padding: 28px 24px;
}
.ticket-pass-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 6px;
}
.ticket-meta-line {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 4px;
}
.ticket-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-ink);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin: 12px 0 20px;
}
.color-dot-inline {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1788E5;
    display: inline-block;
}
.qr-canvas-wrap {
    background: var(--color-surface);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: inline-block;
    margin-bottom: 16px;
}
.qr-code-box canvas {
    display: block;
    margin: 0 auto;
}
.qr-code-id {
    font-family: monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    margin-top: 10px;
}
.ticket-instructions {
    font-size: 13px;
    color: var(--color-ink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ticket-pass-footer {
    padding: 16px 24px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.aspparty-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    height: 38px;
    margin-bottom: 16px;
}
.footer-bio {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    font-size: 14px;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--color-muted);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-muted);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-links a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   CHECKOUT RECIPIENTS & TICKET HOLDER BADGES
   ========================================================================== */
.checkout-recipients-section {
    margin-bottom: 16px;
}
.recipients-section-header {
    margin-bottom: 10px;
}
.recipients-title-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 2px;
}
.recipients-title-label i {
    color: var(--color-accent);
}
.recipients-subtitle-hint {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
}
.checkout-recipients-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.recipient-ticket-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: border-color 0.2s ease;
}
.recipient-ticket-card:focus-within {
    border-color: var(--color-accent);
    background: #FFFFFF;
}
.recipient-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.recipient-ticket-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-ink);
}
.recipient-ticket-badge .rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.recipient-toggle-group {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 3px;
}
.recipient-toggle-btn {
    background: transparent;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.recipient-toggle-btn.is-active {
    background: var(--color-gradient);
    color: #FFFFFF;
}
.recipient-self-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #047857;
    font-weight: 600;
    align-items: center;
    gap: 6px;
}
.recipient-other-fields {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--color-border);
}
.recipient-other-fields label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
}
.recipient-contact-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.recipient-contact-top-row label {
    margin-bottom: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--color-ink);
}
.recipient-contact-toggle {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 2px;
    gap: 2px;
}
.recipient-contact-toggle .recipient-toggle-btn {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}
.recipient-contact-toggle .recipient-toggle-btn.btn-contact-wa.is-active {
    background: #10B981;
    color: #FFFFFF;
}
.recipient-contact-toggle .recipient-toggle-btn.btn-contact-email.is-active {
    background: var(--color-accent);
    color: #FFFFFF;
}
.recipient-email-wrap .recipient-email-input {
    min-height: 50px;
    background-color: #F2F4FB !important;
}
.recipient-email-wrap .recipient-email-input:focus {
    background-color: #FFFFFF !important;
}
.modal-checkout-wide .phone-ddi-group .ddi-select {
    width: 122px !important;
    padding: 13px 28px 13px 10px !important;
    background-position: right 8px center !important;
}
.modal-checkout-wide .doc-type-group .doc-type-select {
    width: 156px !important;
    min-width: 144px;
    padding: 13px 28px 13px 10px !important;
    background-position: right 8px center !important;
    font-size: 13.5px !important;
}
.ticket-recipient-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.ticket-recipient-badge.is-other {
    background: rgba(80, 40, 243, 0.10);
    color: var(--color-accent);
}
.ticket-recipient-badge.is-self {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.ticket-holder-qr-line {
    background: var(--color-surface);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: inline-block !important;
    margin: 6px auto 10px !important;
    color: var(--color-ink) !important;
}

/* ==========================================================================
   PAGE PRELOADER & FORM SAVING LOADING SCREEN
   ========================================================================== */
.aspparty-page-loader {
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.aspparty-page-loader::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(80, 40, 243, 0.08) 0%, rgba(23, 136, 229, 0.04) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.aspparty-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px;
}
.loader-spinner-wrap, .saving-spinner-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg, #1788E5, #5028F3, #8512ED, rgba(80, 40, 243, 0.08) 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: asppartySpin 0.9s linear infinite;
}
.loader-brand-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    animation: asppartyPulseIcon 1.4s ease-in-out infinite;
}
.loader-wordmark {
    height: 30px;
    width: auto;
    object-fit: contain;
}
.loader-progress-track, .saving-progress-track {
    width: 220px;
    height: 5px;
    background: #F0F2F9;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}
.loader-progress-bar {
    width: 45%;
    height: 100%;
    background: var(--color-gradient);
    border-radius: var(--radius-full);
    animation: asppartyLoadSlide 1.1s ease-in-out infinite;
}
.loader-status-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
}

/* Form Saving Overlay */
.aspparty-saving-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.saving-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(41, 35, 92, 0.56);
    backdrop-filter: blur(6px);
}
.saving-overlay-card {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    animation: asppartyPopIn 0.22s ease-out;
}
.saving-overlay-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 4px 0 0;
}
.saving-overlay-card p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}
.saving-success-icon {
    font-size: 54px;
    color: #10B981;
    line-height: 1;
}
.saving-progress-indeterminate {
    width: 50%;
    height: 100%;
    background: var(--color-gradient);
    border-radius: var(--radius-full);
    animation: asppartyLoadSlide 1s ease-in-out infinite;
}

@keyframes asppartySpin {
    to { transform: rotate(360deg); }
}
@keyframes asppartyPulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.92); }
}
@keyframes asppartyLoadSlide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(65%); }
    100% { transform: translateX(220%); }
}
@keyframes asppartyPopIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE QUERIES (TABLET & MOBILE HAMBURGER MENU)
   ========================================================================== */
@media (max-width: 1080px) {
    .fb-nav-container {
        padding: 0 20px;
    }
    .fb-nav-left {
        flex: 0 0 auto;
        max-width: none;
    }
    .fb-nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex: 0 0 auto;
    }
    .fb-nav-center,
    .fb-search-wrap,
    .fb-auth-buttons,
    .fb-tickets-shortcut,
    .fb-profile-dropdown-wrap {
        display: none !important;
    }
    .fb-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1024px) {
    .festas-3col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-header-row {
        grid-template-columns: 1fr;
    }
    .orgs-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .orgs-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .festa-details-grid, .about-box-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tier-builder-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .fb-nav-container {
        padding: 0 16px;
    }
    .fb-nav-left {
        flex: 0 0 auto;
        max-width: none;
    }
    .fb-nav-logo .logo-img {
        height: 30px;
    }
    .fb-nav-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .fb-mobile-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }
    .fb-mobile-toggle-label {
        display: none;
    }
    .fb-mobile-drawer {
        width: min(92vw, 360px);
    }
    .festas-3col-grid {
        grid-template-columns: 1fr;
    }
    .orgs-preview-grid, .orgs-full-grid {
        grid-template-columns: 1fr;
    }
    .aspparty-hero-section {
        padding: 16px 0 18px;
    }
    .hero-header-row {
        gap: 16px;
    }
    .hero-text-block {
        display: none !important;
    }
    .aspparty-filters-bar {
        margin-top: 18px;
        padding-top: 16px;
    }
    .hero-main-title {
        font-size: 30px;
    }
    .section-heading-row {
        align-items: center;
        margin-bottom: 20px;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .aspparty-footer {
        display: none !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }
    .tier-builder-row {
        grid-template-columns: 1fr;
    }
    .user-ticket-card {
        flex-direction: column;
    }
    .ticket-stub-divider {
        display: none;
    }
    .perfil-hero-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
    }
    .perfil-hero-name-row, .perfil-quick-links {
        justify-content: center;
    }

    /* Form Pages & Cadastrar Organização Mobile Layout */
    .aspparty-form-page-section {
        padding: 24px 0 52px;
    }
    .form-page-container {
        padding: 0 16px;
        box-sizing: border-box;
    }
    .form-page-header {
        margin-bottom: 20px;
    }
    .form-page-title {
        font-size: 26px;
        line-height: 1.25;
        margin: 10px 0 6px;
        letter-spacing: -0.3px;
    }
    .form-page-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 22px;
    }
    .form-card-box {
        padding: 22px 16px;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 18px rgba(41, 35, 92, 0.05);
    }
    .form-section-legend {
        font-size: 16.5px;
        margin-bottom: 14px;
        gap: 8px;
    }
    .aspparty-form .form-group {
        margin-bottom: 18px;
    }
    .aspparty-form label {
        font-size: 13.5px;
        line-height: 1.4;
        margin-bottom: 7px;
    }
    .aspparty-form label small {
        display: inline-block;
        font-size: 12px;
        font-weight: 500;
        opacity: 0.85;
    }
    .aspparty-form input[type="text"],
    .aspparty-form input[type="email"],
    .aspparty-form input[type="password"],
    .aspparty-form input[type="number"],
    .aspparty-form input[type="url"],
    .aspparty-form input[type="tel"],
    .aspparty-form input[type="date"],
    .aspparty-form input[type="time"],
    .aspparty-form select,
    .aspparty-form textarea,
    #aspparty-auth-modal .aspparty-form input:not([type="file"]):not([type="radio"]):not([type="checkbox"]),
    #aspparty-auth-modal .aspparty-form select,
    #aspparty-auth-modal .aspparty-form textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        height: auto !important;
        min-height: 52px;
        line-height: 1.45;
        padding: 13px 16px;
        border-radius: 14px;
        box-sizing: border-box;
    }
    .aspparty-form select,
    #aspparty-auth-modal .aspparty-form select {
        padding: 13px 34px 13px 14px !important;
        background-position: right 11px center !important;
        min-height: 52px;
        height: auto !important;
        line-height: 1.45;
    }
    .aspparty-form textarea,
    #aspparty-auth-modal .aspparty-form textarea {
        min-height: 92px;
        padding: 13px 16px;
        line-height: 1.5;
    }
    .aspparty-modal {
        padding: 12px;
    }
    #aspparty-auth-modal .modal-card,
    #aspparty-auth-modal .modal-card.is-org-mode {
        padding: 22px 16px;
        max-width: 100%;
    }
    .phone-ddi-group,
    .doc-type-group,
    .org-doc-type-group {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    .phone-ddi-group .ddi-select,
    .modal-checkout-wide .phone-ddi-group .ddi-select,
    #aspparty-auth-modal .phone-ddi-group .ddi-select {
        width: 112px !important;
        min-width: 104px;
        max-width: 120px;
        flex-shrink: 0;
        padding: 13px 28px 13px 10px !important;
        background-position: right 8px center !important;
        font-size: 14px !important;
        min-height: 52px;
        height: auto !important;
    }
    .doc-type-group .doc-type-select,
    .modal-checkout-wide .doc-type-group .doc-type-select,
    .org-doc-type-group .org-doc-type-select,
    #aspparty-auth-modal .org-doc-type-group .org-doc-type-select {
        width: 140px !important;
        min-width: 130px;
        max-width: 148px;
        flex-shrink: 0;
        padding: 13px 26px 13px 10px !important;
        background-position: right 7px center !important;
        font-size: 13px !important;
        min-height: 52px;
        height: auto !important;
    }
    .phone-ddi-group .phone-masked-input,
    .doc-type-group .aspparty-doc-input,
    .org-doc-type-group .org-doc-masked-input {
        flex: 1;
        min-width: 0;
        width: 100%;
    }
    .recipient-contact-top-row {
        gap: 6px;
    }
    .recipient-contact-toggle .recipient-toggle-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    .aspparty-form .input-icon-wrap input,
    .address-autocomplete-wrap .input-icon-wrap input {
        padding-left: 42px !important;
    }
    .address-suggestions-dropdown {
        max-height: 220px;
    }
    .address-suggestion-item {
        padding: 11px 13px;
        font-size: 13.5px;
    }
    .btn-large-submit {
        font-size: 15px;
        padding: 15px 16px;
        white-space: normal;
        line-height: 1.35;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        border-radius: var(--radius-md);
    }

    /* Existing Organizations Banner on Mobile */
    .my-existing-orgs-banner {
        padding: 18px 14px;
        border-radius: var(--radius-md);
        margin-bottom: 22px;
    }
    .my-existing-orgs-banner h3 {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 14px;
    }
    .existing-org-item {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 12px;
    }
    .existing-org-title-row strong {
        font-size: 16px;
    }
    .existing-org-btns {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .existing-org-btns .btn-sm-outline,
    .existing-org-btns .btn-sm-gradient {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
    }
    .alert-box-warning {
        padding: 16px 14px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Event Cards & Single Event Mobile Optimization */
    .festa-card-top-bar {
        gap: 6px;
    }
    .festa-org-minicard {
        padding: 4px 8px 4px 4px;
        max-width: calc(100% - 105px);
    }
    .org-minicard-name {
        max-width: 95px;
        font-size: 11px;
    }
    .festa-date-pill {
        padding: 4px 8px;
        font-size: 11px;
        gap: 4px;
    }
    .single-festa-hero {
        min-height: 480px;
        padding-top: 85px;
        padding-bottom: 28px;
    }
    .single-festa-title {
        font-size: 26px;
        line-height: 1.22;
        margin-bottom: 14px;
    }
    .single-hero-badge-row {
        gap: 8px;
        flex-wrap: wrap;
    }
    .festa-detail-org-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }
    .festa-detail-org-card .btn-detail-org-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .share-modal-card {
        padding: 24px 16px;
    }
    .share-social-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .share-social-btn {
        padding: 10px 4px;
        font-size: 11px;
    }
    .share-btn-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    .share-link-input-group {
        flex-direction: column;
    }
    .share-link-input-group .btn-copy-link {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   USER PROFILE PAGE (/meu-perfil/) & HEADER AVATAR PHOTO
   ========================================================================== */
.fb-avatar {
    overflow: hidden;
}
.fb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perfil-hero-card {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    box-shadow: var(--shadow-sm);
}

.perfil-avatar-editor {
    position: relative;
    flex-shrink: 0;
}

.perfil-avatar-circle {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--color-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(80, 40, 243, 0.22);
}

.perfil-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perfil-avatar-cam-btn {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, background 0.15s ease;
}

.perfil-avatar-cam-btn:hover {
    transform: scale(1.08);
    background: #3e1ad6;
}

.perfil-hero-meta {
    flex: 1;
    min-width: 240px;
}

.perfil-hero-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.perfil-hero-name-row h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0;
}

.perfil-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: #ECFDF5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
}

.perfil-unverified-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: #FEF3C7;
    color: #92400E;
    font-size: 12px;
    font-weight: 700;
}

.perfil-hero-email {
    color: var(--color-muted);
    font-size: 14px;
    margin: 2px 0 14px;
}

.perfil-quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.perfil-photo-upload-bar {
    background: var(--color-surface);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.perfil-photo-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

/* ==========================================================================
   MINHA ORGANIZAÇÃO DASHBOARD & ORGANIZATION MODALS
   ========================================================================== */
.minha-org-header-card {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}
.minha-org-header-texts {
    flex: 1;
}
.minha-org-header-texts .form-page-title {
    margin: 10px 0 6px;
    font-size: 32px;
}
.minha-org-header-texts .form-page-subtitle {
    margin-bottom: 0;
    color: var(--color-muted);
}
.admin-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 14px;
    background: rgba(80, 40, 243, 0.08);
    border: 1px solid rgba(80, 40, 243, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
}
.minha-org-header-actions .btn-create-org-top {
    padding: 16px 28px;
    font-size: 16px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(80, 40, 243, 0.25);
}
.minha-org-listing-wrap {
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.minha-org-listing-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid var(--color-border);
}
.minha-org-listing-top h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.org-dashboard-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    margin-bottom: 16px;
    transition: all 0.2s ease;
}
.org-dashboard-card:hover {
    border-color: var(--color-accent);
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.existing-org-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
.existing-org-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(80, 40, 243, 0.15);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    display: block;
}
.org-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-muted);
}
.btn-edit-org,
.btn-edit-org-card {
    border-color: #5028F3 !important;
    color: #5028F3 !important;
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-edit-org:hover,
.btn-edit-org-card:hover {
    background: #5028F3 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.25);
}
.minha-org-empty-box,
.minha-org-guest-card {
    background: #FFFFFF;
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 64px 32px;
    box-shadow: var(--shadow-sm);
}
.empty-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(80, 40, 243, 0.08);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 18px;
}
.minha-org-empty-box h3,
.minha-org-guest-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 8px;
}
.minha-org-empty-box p,
.minha-org-guest-card p {
    color: var(--color-muted);
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto 24px;
    line-height: 1.5;
}
.guest-action-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Modals: Criar e Editar Organização */
.modal-org-wide {
    max-width: 720px;
    width: 100%;
    padding: 32px;
}
.modal-header-org {
    margin-bottom: 24px;
}
.modal-org-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 4px;
}
.modal-org-subtitle {
    font-size: 14px;
    color: var(--color-muted);
    margin: 0;
}
/* ==========================================================================
   ORGANIZATION AVATAR UPLOADER CARD (PROFESSIONAL ROW LAYOUT)
   ========================================================================== */
.org-avatar-upload-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #F8F9FE;
    border: 1.5px solid #E2E8F4;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.org-avatar-upload-card:hover {
    border-color: #DDD6FE;
    box-shadow: 0 4px 16px rgba(80, 40, 243, 0.06);
}

.org-avatar-circle-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.org-avatar-circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #FFFFFF;
    border: 2.5px solid #5028F3;
    box-shadow: 0 4px 14px rgba(80, 40, 243, 0.16);
    display: block;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.org-avatar-circle-wrap:hover .org-avatar-circle-img {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(80, 40, 243, 0.26);
}

.org-avatar-cam-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #5028F3;
    color: #FFFFFF;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(80, 40, 243, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.org-avatar-circle-wrap:hover .org-avatar-cam-badge {
    transform: scale(1.1);
    background: #3B16D1;
}

.org-avatar-meta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.org-avatar-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink, #0F172A);
    margin: 0;
    line-height: 1.25;
}

.btn-avatar-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #5028F3 0%, #3B16D1 100%);
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(80, 40, 243, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.2;
}
.btn-avatar-action i {
    font-size: 12.5px;
}
.btn-avatar-action:hover {
    background: linear-gradient(135deg, #3B16D1 0%, #260B9E 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(80, 40, 243, 0.4);
}
.btn-avatar-action:active {
    transform: scale(0.97);
}

.org-avatar-status {
    font-size: 12px;
    color: #64748B;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.org-avatar-status.is-selected {
    color: #059669;
    font-weight: 600;
}

@media (max-width: 360px) {
    .org-avatar-upload-card {
        padding: 12px 14px;
        gap: 12px;
    }
    .org-avatar-circle-wrap {
        width: 64px;
        height: 64px;
    }
    .org-avatar-label {
        font-size: 12.5px;
    }
    .btn-avatar-action {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Instagram input styling with icon */
.form-group .input-icon-wrap .fa-brands.fa-instagram {
    color: #E1306C;
    font-size: 16px;
}
.instagram-handle-input {
    font-weight: 600;
}

/* Painel Administrativo dentro do Modal de Edição */
.admin-edit-panel {
    background: rgba(80, 40, 243, 0.04);
    border: 1.5px solid rgba(80, 40, 243, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0 16px;
}
.admin-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(80, 40, 243, 0.15);
}
.admin-switches-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.admin-toggle-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    background: #FFFFFF;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.admin-toggle-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--color-accent);
    cursor: pointer;
}
.admin-toggle-item .toggle-text strong {
    display: block;
    font-size: 14px;
    color: var(--color-ink);
    margin-bottom: 2px;
}
.admin-toggle-item .toggle-text small {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.35;
}
.admin-split-box {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.admin-split-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .minha-org-header-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
    }
    .minha-org-header-actions {
        width: 100%;
    }
    .minha-org-header-actions .btn-create-org-top {
        width: 100%;
        justify-content: center;
    }
    .minha-org-listing-wrap {
        padding: 20px 14px;
    }
    .minha-org-listing-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .minha-org-listing-top .btn-sm-gradient {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .modal-org-wide {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   NOTIFICATIONS SYSTEM & ORGANIZATION TOGGLE
   ========================================================================== */

/* Menu Notification Bell Button */
.fb-notif-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 16px;
    color: var(--color-ink);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.fb-notif-btn:hover {
    background: #F3F0FF;
    border-color: #5028F3;
    color: #5028F3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.15);
}
.fb-notif-btn:active {
    transform: scale(0.95);
}
.fb-notif-btn .fb-notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
    animation: notifPulse 2s infinite;
}
@keyframes notifPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Mobile Drawer Notification Link */
.fb-mobile-link-notif {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fb-mobile-notif-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
}

/* Organization Page & Generic Notification Subscription Toggle Button */
.btn-org-contact.btn-org-notif-toggle {
    background: #F3F0FF;
    color: #5028F3;
    border: 1px solid #DDD6FE;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(80, 40, 243, 0.08);
}
.btn-org-contact.btn-org-notif-toggle:hover {
    background: #E9D5FF;
    color: #431EC9;
    border-color: #C084FC;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(80, 40, 243, 0.2);
}
.btn-org-contact.btn-org-notif-toggle.is-active {
    background: linear-gradient(135deg, #5028F3 0%, #7C3AED 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(80, 40, 243, 0.35);
}
.btn-org-contact.btn-org-notif-toggle.is-active:hover {
    background: linear-gradient(135deg, #431EC9 0%, #6D28D9 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(80, 40, 243, 0.45);
    transform: translateY(-2px);
}
.btn-org-contact.btn-org-notif-toggle:active {
    transform: scale(0.96);
}

/* Compact button for inside cards/lists */
.btn-org-notif-toggle.btn-sm {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F3F0FF;
    color: #5028F3;
    border: 1px solid #DDD6FE;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.btn-org-notif-toggle.btn-sm:hover {
    background: #E9D5FF;
    border-color: #C084FC;
}
.btn-org-notif-toggle.btn-sm.is-active {
    background: linear-gradient(135deg, #5028F3 0%, #7C3AED 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(80, 40, 243, 0.3);
}

/* Modal Card Notifications */
.modal-card-notifications {
    max-width: 560px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 25px 60px -15px rgba(41, 35, 92, 0.25);
}
.notif-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid #F0F2F9;
    background: #FFFFFF;
}
.notif-header-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(80, 40, 243, 0.12) 0%, rgba(124, 58, 237, 0.16) 100%);
    color: #5028F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.notif-header-text h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 3px 0;
}
.notif-header-text p {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

/* Tabs Bar */
.notif-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #FAFAFD;
    border-bottom: 1px solid #ECEFF8;
}
.notif-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.notif-tab-btn:hover {
    color: var(--color-ink);
    background: rgba(0, 0, 0, 0.03);
}
.notif-tab-btn.is-active {
    background: #FFFFFF;
    color: #5028F3;
    border-color: #E2E8F0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.notif-tab-badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: #5028F3;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
}

/* Modal Body */
.notif-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
    background: #FDFDFE;
    max-height: 480px;
}
.notif-modal-body::-webkit-scrollbar {
    width: 6px;
}
.notif-modal-body::-webkit-scrollbar-thumb {
    background: #E2E8F0;
    border-radius: 4px;
}

/* Loading & Empty States */
.notif-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 20px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 600;
}
.notif-loading-state i {
    font-size: 26px;
    color: #5028F3;
}
.notif-empty-state-box {
    text-align: center;
    padding: 32px 18px 24px;
    border-radius: 18px;
    background: #F8F9FE;
    border: 1px dashed #D9E0F2;
    margin-bottom: 20px;
}
.notif-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EDE9FE;
    color: #7C3AED;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}
.notif-empty-state-box h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 6px;
}
.notif-empty-state-box p {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Auth Prompt Card */
.notif-auth-prompt-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 18px;
    background: linear-gradient(145deg, #F9F8FE 0%, #F1EEFD 100%);
    border: 1px solid #E4DCFC;
    margin-bottom: 20px;
}
.notif-prompt-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #5028F3;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
    box-shadow: 0 6px 18px rgba(80, 40, 243, 0.3);
}
.notif-auth-prompt-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 8px;
}
.notif-auth-prompt-card p {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0 auto 16px;
    max-width: 360px;
}
.notif-prompt-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Event Notification Cards */
.notif-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}
.notif-card-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #ECEFF8;
    box-shadow: 0 2px 8px rgba(41, 35, 92, 0.04);
    transition: all 0.2s ease;
}
.notif-card-item:hover {
    border-color: #DDD6FE;
    box-shadow: 0 6px 16px rgba(80, 40, 243, 0.08);
    transform: translateY(-1px);
}
.notif-card-avatar-link {
    flex-shrink: 0;
}
.notif-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 1.5px solid #ECEFF8;
}
.notif-card-body {
    flex: 1;
    min-width: 0;
}
.notif-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.notif-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 11px;
    font-weight: 800;
}
.notif-time-ago {
    font-size: 11.5px;
    color: var(--color-muted);
}
.notif-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink);
    line-height: 1.35;
    margin: 0 0 8px 0;
}
.notif-card-title strong {
    font-weight: 800;
}
.notif-card-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.notif-card-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.notif-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-notif-action-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    background: #5028F3;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-notif-action-primary:hover {
    background: #431EC9;
    color: #FFFFFF;
    transform: translateY(-1px);
}
.btn-notif-action-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 10px;
    background: #F3F4F6;
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-notif-action-link:hover {
    background: #E5E7EB;
}

/* Followed Orgs List (Tab 2) */
.notif-orgs-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.notif-org-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #ECEFF8;
    transition: all 0.2s ease;
}
.notif-org-row:hover {
    border-color: #DDD6FE;
    background: #FAFAFE;
}
.notif-org-avatar-box img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #ECEFF8;
}
.notif-org-info {
    flex: 1;
    min-width: 0;
}
.notif-org-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-org-title:hover {
    color: #5028F3;
}
.org-check-icon {
    color: #5028F3;
    font-size: 13px;
    flex-shrink: 0;
}
.notif-org-city {
    font-size: 11.5px;
    color: var(--color-muted);
    display: block;
}

/* Recommendations / Suggestions Inside Modal */
.notif-suggestions-wrapper {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid #ECEFF8;
}
.notif-suggestions-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.notif-suggestions-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.notif-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #F8F9FD;
    border: 1px solid #ECEFF8;
    transition: all 0.18s ease;
}
.notif-suggestion-item:hover {
    background: #F1EEFD;
    border-color: #DDD6FE;
}
.suggestion-avatar-wrap img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}
.suggestion-meta {
    flex: 1;
    min-width: 0;
}
.suggestion-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggestion-name:hover {
    color: #5028F3;
}
.suggestion-city {
    font-size: 11px;
    color: var(--color-muted);
    display: block;
}

/* Modal Footer */
.notif-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 28px;
    border-top: 1px solid #ECEFF8;
    background: #FFFFFF;
}
.notif-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5028F3;
    text-decoration: none;
    transition: all 0.2s ease;
}
.notif-footer-link:hover {
    color: #431EC9;
    text-decoration: underline;
}

/* Floating Toast Feedback */
.aspparty-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #1E1B4B;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.35);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    max-width: 90vw;
}
.aspparty-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.aspparty-toast.is-hiding {
    opacity: 0;
    transform: translateY(-10px);
}
.aspparty-toast .toast-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .fb-notif-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .modal-card-notifications {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px;
    }
    .notif-modal-header {
        padding: 18px 20px 14px;
    }
    .notif-tabs-bar {
        padding: 10px 16px;
    }
    .notif-modal-body {
        padding: 16px 18px;
    }
    .notif-modal-footer {
        padding: 14px 18px;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .notif-modal-footer .btn-secondary-outline {
        width: 100%;
        text-align: center;
    }
    .aspparty-toast {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        left: 50%;
        right: auto;
        transform: translate(-50%, 16px);
    }
    .aspparty-toast.is-visible {
        transform: translate(-50%, 0);
    }
    .btn-org-contact.btn-org-notif-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   SELO NÃO OFICIAL (ORGANIZAÇÃO & EVENTO) & MODO CATÁLOGO DA FRONTEIRA
   ========================================================================== */

/* Mini tag inside event card org header */
.org-unofficial-mini-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    margin-left: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Small badge on Featured Orgs / Detail Org Card */
.org-unofficial-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
    margin-top: 2px;
    margin-bottom: 4px;
    width: fit-content;
}

/* Banner badge on Organization Card */
.org-banner-unofficial-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(254, 243, 199, 0.96);
    color: #92400E;
    border: 1px solid #FDE68A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.org-unofficial-card-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Dashboard status badge for unofficial org */
.org-status-badge.unofficial {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

/* Single organization hero cover & pills */
.org-cover-badge.org-cover-badge-unofficial {
    background: rgba(254, 243, 199, 0.95);
    color: #92400E;
    border-color: #FDE68A;
}

.badge-border-pill.org-pill-unofficial {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
    font-weight: 700;
}

/* Unofficial Notice Banner on Single Organization & Single Festa */
.unofficial-org-notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1.5px solid #FCD34D;
    color: #78350F;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}

.unofficial-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.14);
    color: #B45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.unofficial-banner-content strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #92400E;
    margin-bottom: 3px;
}

.unofficial-banner-content p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #78350F;
}

/* Unofficial Event Tag on Festa Card */
.tag-unofficial-event {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(254, 243, 199, 0.95);
    color: #92400E;
    border: 1px solid #FCD34D;
}

/* Single Festa Hero Badges */
.badge-border-pill.badge-hero-unofficial {
    background: rgba(254, 243, 199, 0.92);
    color: #92400E;
    border-color: #FCD34D;
    font-weight: 700;
}

.badge-border-pill.badge-hero-catalog {
    background: rgba(238, 242, 255, 0.92);
    color: #4338CA;
    border-color: #C7D2FE;
    font-weight: 700;
}

/* Catalog Mode on Event Card Bottom Row */
.festa-price-box.festa-catalog-box small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.festa-price-box.festa-catalog-box .catalog-val {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    color: #FDE68A;
}

.btn-card-catalog {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.festa-card-item:hover .btn-card-catalog {
    background: #FFFFFF;
    color: #1A0D47;
}

/* Cadastrar Festa: Ticket Sales vs Catalog Mode Selector */
.festa-ticket-mode-selector-wrap {
    margin: 20px 0;
    padding: 18px 20px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
}

.festa-mode-main-label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 12px;
}

.festa-mode-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.festa-mode-option-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.festa-mode-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.festa-mode-option-card:hover:not(.is-disabled) {
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.festa-mode-option-card.active {
    border-color: #5028F3;
    background: #F5F3FF;
    box-shadow: 0 6px 18px rgba(80, 40, 243, 0.10);
}

.festa-mode-option-card.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #F1F5F9;
}

.festa-mode-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(80, 40, 243, 0.12);
    color: #5028F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.festa-mode-card-icon.catalog-icon {
    background: rgba(14, 165, 233, 0.12);
    color: #0284C7;
}

.festa-mode-card-body strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 3px;
}

.festa-mode-card-body span {
    display: block;
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.45;
}

.festa-mp-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E3A8A;
    font-size: 13px;
}

.festa-mp-notice-box i {
    font-size: 18px;
    color: #2563EB;
    margin-top: 2px;
}

.festa-mp-notice-box p {
    margin: 4px 0 0;
    line-height: 1.45;
}

.festa-mp-notice-box a {
    color: #4338CA;
    font-weight: 700;
    text-decoration: underline;
}

.admin-unofficial-festa-toggle-box {
    margin: 16px 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: #FFFBEB;
    border: 1.5px solid #FDE68A;
}

.admin-unofficial-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.admin-unofficial-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #D97706;
    flex-shrink: 0;
}

.admin-unofficial-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #92400E;
    margin-bottom: 3px;
}

.admin-unofficial-text span {
    display: block;
    font-size: 12.5px;
    color: #78350F;
    line-height: 1.45;
}

.festa-catalog-mode-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1.5px solid #BAE6FD;
}

.catalog-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0284C7;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.catalog-banner-text h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #0C4A6E;
}

.catalog-banner-text p {
    margin: 0;
    font-size: 13px;
    color: #0369A1;
    line-height: 1.45;
}

/* Single Festa Sidebar Catalog Mode */
.sidebar-badge.catalog-sidebar-badge {
    background: #E0F2FE;
    color: #0369A1;
}

.sidebar-catalog-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 10px 0 6px;
}

.sidebar-catalog-desc {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

.sidebar-catalog-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.catalog-hl-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.catalog-hl-row i {
    color: #5028F3;
    font-size: 16px;
    margin-top: 3px;
}

.catalog-hl-row small {
    display: block;
    font-size: 11.5px;
    color: #64748B;
}

.catalog-hl-row strong {
    display: block;
    font-size: 13px;
    color: #1E293B;
}

@media (max-width: 768px) {
    .festa-mode-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MENU INFERIOR MOBILE (BOTTOM NAVIGATION BAR)
   Aparece exclusivamente em telas mobile (<= 768px)
   ========================================================================== */
.aspparty-bottom-bar {
    display: none !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .aspparty-bottom-bar {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1020;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(80, 40, 243, 0.08);
        box-shadow: 0 -4px 20px rgba(15, 11, 38, 0.06);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
    }

    body.mobile-drawer-open .aspparty-bottom-bar {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }

    .bottom-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        max-width: 440px;
        margin: 0 auto;
        padding: 0 16px;
    }

    .bottom-bar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        height: 100%;
        background: transparent;
        border: none;
        padding: 6px 0;
        color: #8C92AC;
        text-decoration: none;
        cursor: pointer;
        position: relative;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-bar-item:active {
        transform: scale(0.92);
    }

    .bottom-bar-icon-wrap {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 28px;
        border-radius: 12px;
        font-size: 19px;
        transition: all 0.22s ease;
    }

    .bottom-bar-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1;
        transition: color 0.2s ease;
    }

    .bottom-bar-indicator {
        width: 0;
        height: 3px;
        border-radius: 999px;
        background: var(--color-gradient);
        transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
        position: absolute;
        bottom: 3px;
    }

    /* Active & Hover States */
    .bottom-bar-item:hover {
        color: var(--color-accent);
    }

    .bottom-bar-item.is-active {
        color: #5028F3;
    }

    .bottom-bar-item.is-active .bottom-bar-icon-wrap {
        color: #5028F3;
        transform: translateY(-1px);
    }

    .bottom-bar-item.is-active .bottom-bar-label {
        color: #5028F3;
        font-weight: 800;
    }

    .bottom-bar-item.is-active .bottom-bar-indicator {
        width: 18px;
    }

    /* Badge de Notificação */
    .bottom-bar-badge {
        position: absolute;
        top: 0px;
        right: 2px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #EF4444;
        border: 2px solid #FFFFFF;
        box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
        animation: notifPulse 2s infinite;
    }

    /* Avatar em Meu Perfil */
    .bottom-bar-avatar {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        object-fit: cover;
        border: 1.5px solid #5028F3;
        box-shadow: 0 2px 6px rgba(80, 40, 243, 0.2);
    }

    .bottom-bar-avatar-initial {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: var(--color-gradient);
        color: #FFFFFF;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(80, 40, 243, 0.25);
    }
}

/* ==========================================================================
   SISTEMA DE PROMOTORES, COMPLETUDE DE PERFIL & CONTROLE DE VENDAS (v1.9.8)
   ========================================================================== */

/* Search positioning for live promoter dropdown */
.fb-search-wrap,
.drawer-search-section {
    position: relative;
}

.header-promoter-search-results,
.drawer-promoter-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(15, 11, 38, 0.14);
    z-index: 1200;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}

.drawer-promoter-search-results {
    top: 48px;
}

.promo-search-section-title {
    padding: 9px 14px 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5028F3;
    background: #F8F9FD;
    border-bottom: 1px solid #EEF2F8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-ink);
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.16s ease;
}

.promo-search-result-item:last-child {
    border-bottom: none;
}

.promo-search-result-item:hover {
    background: #F5F3FF;
}

.promo-search-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.promo-search-meta {
    flex: 1;
    min-width: 0;
}

.promo-search-meta strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-search-meta small {
    display: block;
    font-size: 11.5px;
    color: #64748B;
}

.promo-search-go {
    color: #5028F3;
    font-size: 12px;
}

.promo-search-empty {
    padding: 12px 14px;
    font-size: 12.5px;
    color: #64748B;
    text-align: center;
}

.dropdown-promoter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: #EDE9FE;
    color: #5028F3;
}

.drawer-role-pill.is-promoter {
    background: #EDE9FE;
    color: #5028F3;
}

/* 1. Barra Discreta & Recolhível de Completude de Perfil */
.aspparty-completeness-widget {
    margin-top: 10px;
    border-radius: 12px;
    background: #F8F9FD;
    border: 1px solid #E5E9F4;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

.aspparty-completeness-widget.is-full {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.aspparty-completeness-widget.context-profile {
    margin-top: 14px;
    padding: 11px 14px;
    background: #F8FAFC;
}

.aspparty-completeness-widget.context-profile.is-full {
    background: #F0FDF4;
}

.aspparty-completeness-widget.context-drawer {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.78);
}

.completeness-toggle-row {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.completeness-top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.completeness-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-ink);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.completeness-label i {
    color: #5028F3;
    font-size: 12px;
}

.aspparty-completeness-widget.is-full .completeness-label,
.aspparty-completeness-widget.is-full .completeness-label i {
    color: #047857;
}

.completeness-toggle-hint {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.completeness-chevron {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.aspparty-completeness-widget.is-open .completeness-chevron {
    transform: rotate(180deg);
}

.completeness-track {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: #E2E8F0;
    overflow: hidden;
}

.completeness-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5028F3 0%, #1788E5 100%);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.aspparty-completeness-widget.is-full .completeness-fill {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.completeness-checklist-collapse {
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px dashed #E2E8F0;
}

.completeness-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.completeness-check-item {
    margin: 0;
}

.completeness-item-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 11.5px;
    color: var(--color-ink);
    transition: background 0.15s ease;
}

.completeness-item-link:hover {
    background: rgba(80, 40, 243, 0.06);
}

.check-status-ico {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.completeness-check-item.is-done .check-status-ico {
    color: #10B981;
}

.completeness-check-item.is-missing .check-status-ico {
    color: #94A3B8;
}

.check-status-label {
    flex: 1;
    font-weight: 600;
}

.check-status-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    text-transform: uppercase;
}

.completeness-check-item.is-done .check-status-tag {
    background: #D1FAE5;
    color: #047857;
}

.completeness-check-item.is-missing .check-status-tag {
    background: #FEF3C7;
    color: #B45309;
}

.completeness-complete-cta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 9px;
    background: #5028F3;
    color: #FFFFFF !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
}

.completeness-complete-cta.is-promoter-ready {
    background: linear-gradient(135deg, #5028F3, #1788E5);
}

.is-field-highlighted {
    outline: 2px solid #5028F3;
    outline-offset: 4px;
    border-radius: 12px;
    transition: outline 0.3s ease;
}

/* 2. Meu Perfil - WhatsApp & Promotor Pills */
.perfil-wa-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.perfil-wa-label-row label {
    margin-bottom: 0 !important;
}

.btn-copy-phone-wa {
    background: #EEF2FF;
    color: #4338CA;
    border: 1px solid #C7D2FE;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-copy-phone-wa:hover {
    background: #5028F3;
    color: #FFFFFF;
    border-color: #5028F3;
}

.perfil-promoter-handle-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #5028F3;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.btn-sm-outline.btn-sm-promoter {
    border-color: #C4B5FD;
    color: #5028F3;
    background: #F5F3FF;
}

.btn-sm-outline.btn-sm-promoter:hover {
    background: #5028F3;
    color: #FFFFFF;
}

/* 3. Picker de Promotores no Cadastro de Organização */
.org-promoters-picker {
    position: relative;
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #F8F9FD;
    border: 1px solid #E5E9F4;
}

.org-promoters-picker > label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 8px;
}

.org-promoter-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.org-promoter-search-wrap i {
    position: absolute;
    left: 13px;
    color: #64748B;
    font-size: 14px;
}

.org-promoter-search-wrap input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border-radius: 10px;
    border: 1.5px solid #D5DCE8;
    background: #FFFFFF;
    font-size: 13.5px;
}

.org-promoter-search-dropdown {
    margin-top: 6px;
    background: #FFFFFF;
    border: 1px solid #DCE3F0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 11, 38, 0.1);
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}

.org-picker-result-row {
    width: 100%;
    background: #FFFFFF;
    border: none;
    border-bottom: 1px solid #F1F5F9;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-ink);
    cursor: pointer;
    text-align: left;
}

.org-picker-result-row:hover:not(:disabled) {
    background: #F5F3FF;
}

.org-picker-result-row small {
    color: #5028F3;
    font-weight: 700;
}

.org-promoter-selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.org-promoter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #431EC9;
    font-size: 12px;
    font-weight: 600;
}

.org-promoter-chip button {
    background: none;
    border: none;
    color: #431EC9;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

/* 4. Página Tornar-se Promotor & Painel do Promotor */
.promo-requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.promo-req-feature-card {
    background: #FFFFFF;
    border: 1px solid #E5E9F4;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 6px 20px rgba(15, 11, 38, 0.04);
}

.req-feat-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EDE9FE;
    color: #5028F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}

.promo-req-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-req-feature-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748B;
}

.promo-onboarding-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: start;
}

.promo-req-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.promo-step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #5028F3;
    background: #EDE9FE;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.promo-req-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-req-head p {
    margin: 0;
    font-size: 13px;
    color: #64748B;
}

.promo-pct-badge {
    min-width: 68px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #F1F5F9;
    text-align: center;
    flex-shrink: 0;
}

.promo-pct-badge.is-complete {
    background: #D1FAE5;
    color: #047857;
}

.promo-pct-badge strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.promo-pct-badge small {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.85;
}

.promo-progress-bar-lg {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #E2E8F0;
    overflow: hidden;
    margin-bottom: 18px;
}

.promo-progress-fill-lg {
    height: 100%;
    border-radius: 999px;
    background: var(--color-gradient);
    transition: width 0.4s ease;
}

.promo-req-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.promo-req-item.is-done {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.promo-req-item.is-missing {
    background: #FFFBEB;
    border-color: #FDE68A;
}

.promo-req-ico {
    font-size: 19px;
    flex-shrink: 0;
}

.promo-req-item.is-done .promo-req-ico {
    color: #10B981;
}

.promo-req-item.is-missing .promo-req-ico {
    color: #D97706;
}

.promo-req-text {
    flex: 1;
    min-width: 0;
}

.promo-req-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
}

.promo-req-text small {
    display: block;
    font-size: 12px;
    color: #64748B;
}

.req-pill-ok {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: #D1FAE5;
    color: #047857;
}

.req-pill-fix {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: #5028F3;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
}

.promo-incomplete-callout {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #78350F;
}

.promo-incomplete-callout > i {
    font-size: 20px;
    color: #D97706;
}

.promo-incomplete-callout p {
    margin: 3px 0 0;
    font-size: 13px;
}

.promo-locked-overlay {
    text-align: center;
    padding: 36px 20px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1.5px dashed #CBD5E1;
}

.promo-locked-overlay i {
    font-size: 32px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.promo-locked-overlay h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-locked-overlay p {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: #64748B;
}

.username-prefix-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #D5DCE8;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

.username-at-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    background: #F1F5F9;
    color: #5028F3;
    font-weight: 800;
    font-size: 15px;
    border-right: 1px solid #E2E8F0;
}

.username-prefix-group input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    padding: 11px 14px;
    font-weight: 700;
}

.promo-username-status {
    margin-top: 8px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    align-items: center;
    gap: 7px;
}

.promo-username-status.is-valid {
    background: #D1FAE5;
    color: #047857;
}

.promo-username-status.is-invalid {
    background: #FEE2E2;
    color: #B91C1C;
}

.promo-username-status.is-checking {
    background: #EEF2FF;
    color: #4338CA;
}

.promo-permalink-preview-box {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #F8F9FD;
    border: 1px solid #E2E8F0;
}

.promo-permalink-preview-box small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 3px;
}

.promo-permalink-preview-box code {
    font-size: 12.5px;
    font-weight: 700;
    color: #5028F3;
    word-break: break-all;
}

.promo-rule-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    color: #3730A3;
    font-size: 12.5px;
    margin-bottom: 16px;
}

/* Dashboard Hero do Promotor Ativo */
.promoter-dashboard-hero {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 60%, #4338CA 100%);
    color: #FFFFFF;
    border-radius: 22px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 14px 36px rgba(30, 27, 75, 0.22);
}

.promo-dash-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 280px;
}

.promo-dash-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 3px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    overflow: hidden;
    flex-shrink: 0;
}

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

.promo-dash-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.promo-handle-chip {
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
}

.promoter-dashboard-hero h1 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 900;
    color: #FFFFFF;
}

.promo-permalink-copy-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.promo-permalink-copy-row input {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 12.5px;
    min-width: 240px;
    flex: 1;
}

.promo-permalink-copy-row .btn-sm-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
}

.promo-dash-kpis {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-kpi-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 12px 16px;
    min-width: 118px;
}

.promo-kpi-box span {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.promo-kpi-box strong {
    font-size: 19px;
    font-weight: 900;
}

.promo-username-edit-box {
    margin-top: 20px;
    padding: 18px 22px;
}

.promo-inline-username-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.inline-uname-info strong {
    display: block;
    font-size: 14.5px;
    color: var(--color-ink);
}

.inline-uname-info small {
    font-size: 12px;
    color: #64748B;
}

.inline-uname-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.promo-section-head h2 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-section-head p {
    margin: 0;
    font-size: 13px;
    color: #64748B;
}

.promo-festas-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.promo-festa-link-card {
    border: 1px solid #E5E9F4;
    border-radius: 16px;
    padding: 16px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-festa-link-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-festa-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.promo-festa-org-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #5028F3;
    background: #EDE9FE;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}

.promo-festa-meta h3 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 800;
}

.promo-festa-meta h3 a {
    color: var(--color-ink);
    text-decoration: none;
}

.promo-festa-meta small {
    font-size: 12px;
    color: #64748B;
}

.promo-festa-metrics {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: 10px;
    background: #F8FAFC;
    font-size: 12px;
    color: #475569;
}

.promo-festa-copy-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-festa-copy-bar input {
    flex: 1;
    min-width: 0;
    padding: 8px 11px;
    border-radius: 10px;
    border: 1.5px solid #DCE3F0;
    background: #F8FAFC;
    font-size: 12px;
    color: var(--color-ink);
}

.btn-sm-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 17px;
    text-decoration: none;
    flex-shrink: 0;
}

.promo-org-filter-input-wrap {
    position: relative;
    min-width: 240px;
}

.promo-org-filter-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.promo-org-filter-input-wrap input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border-radius: 10px;
    border: 1.5px solid #DCE3F0;
    font-size: 13px;
}

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

.promo-org-req-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #E5E9F4;
    background: #FFFFFF;
}

.promo-org-req-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
}

.promo-org-req-info {
    flex: 1;
    min-width: 0;
}

.promo-org-req-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
    text-decoration: none;
}

.promo-org-req-info small {
    font-size: 12px;
    color: #64748B;
}

.promo-mem-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
}

.promo-mem-badge.is-active {
    background: #D1FAE5;
    color: #047857;
}

.promo-empty-box {
    text-align: center;
    padding: 30px 18px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    color: #64748B;
}

.promo-empty-box i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #94A3B8;
}

/* 5. Perfil Público do Promotor (promoter-profile.php) */
.promoter-avatar-circle-pub {
    border-radius: 50% !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient);
    color: #FFFFFF;
}

.promoter-pub-initial {
    font-size: 38px;
    font-weight: 900;
}

.promoter-public-handle-pill {
    padding: 4px 12px;
    border-radius: 999px;
    background: #EDE9FE;
    color: #5028F3;
    font-size: 13px;
    font-weight: 800;
}

.promoter-owner-invite-bar {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.promo-invite-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #3730A3;
}

.promo-invite-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-invite-controls select {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1.5px solid #C4B5FD;
    background: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
}

.promoter-partner-orgs-box {
    background: #FFFFFF;
    border: 1px solid #E5E9F4;
    border-radius: 18px;
    padding: 20px;
}

.promoter-partner-orgs-box h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
}

.promoter-partner-orgs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-org-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.18s ease;
}

.partner-org-chip:hover {
    border-color: #5028F3;
    background: #F5F3FF;
}

.partner-org-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* 6. Painel Controle de Promotores & Vendas (/controle-promotores/) */
.controle-filters-bar {
    padding: 18px 22px;
    margin-bottom: 20px;
}

.controle-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.controle-filter-field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 6px;
}

.controle-filter-field select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid #D5DCE8;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.controle-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.controle-kpi-card {
    background: #FFFFFF;
    border: 1px solid #E5E9F4;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(15, 11, 38, 0.04);
}

.kpi-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.kpi-ico.kpi-purple { background: #EDE9FE; color: #5028F3; }
.kpi-ico.kpi-blue { background: #DBEAFE; color: #1D4ED8; }
.kpi-ico.kpi-emerald { background: #D1FAE5; color: #047857; }
.kpi-ico.kpi-amber { background: #FEF3C7; color: #B45309; }

.controle-kpi-card small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748B;
}

.controle-kpi-card strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--color-ink);
    line-height: 1.15;
    margin: 2px 0;
}

.kpi-sub {
    font-size: 11.5px;
    color: #64748B;
}

.controle-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.controle-section-head h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-ink);
}

.controle-section-head p {
    margin: 0;
    font-size: 13px;
    color: #64748B;
}

.controle-pending-box {
    border: 1.5px solid #FCD34D !important;
    background: #FFFDF7 !important;
}

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

.controle-pending-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #FDE68A;
}

.pending-promo-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.promo-handle-inline {
    color: #5028F3;
    font-size: 12.5px;
    margin-left: 5px;
    text-decoration: none;
}

.pending-promo-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger-outline {
    border-color: #FECACA !important;
    color: #DC2626 !important;
}

.btn-danger-outline:hover {
    background: #FEE2E2 !important;
}

.controle-table-responsive {
    overflow-x: auto;
}

.controle-sales-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.controle-sales-table th {
    text-align: left;
    padding: 11px 12px;
    background: #F8FAFC;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1.5px solid #E2E8F0;
}

.controle-sales-table td {
    padding: 12px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.controle-sales-table .num-col {
    text-align: center;
}

.controle-sales-table .actions-col {
    text-align: right;
}

.table-promo-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-tbl-name {
    display: block;
    font-weight: 800;
    color: var(--color-ink);
    text-decoration: none;
}

.promo-tbl-handle {
    display: block;
    font-size: 12px;
    color: #5028F3;
    font-weight: 700;
}

.promo-removed-tag {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #64748B;
}

.orders-subtable-wrap {
    padding: 12px;
    background: #F8FAFC;
    border-radius: 12px;
}

.orders-subtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.orders-subtable th {
    background: #EEF2F7;
    padding: 8px 10px;
    font-size: 11px;
}

.orders-subtable td {
    padding: 8px 10px;
    border-bottom: 1px solid #E2E8F0;
}

.ord-status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.ord-status-pill.is-paid { background: #D1FAE5; color: #047857; }
.ord-status-pill.is-pending { background: #FEF3C7; color: #B45309; }
.ord-status-pill.is-cancel { background: #FEE2E2; color: #B91C1C; }

.orders-empty-note {
    margin: 0;
    padding: 12px;
    font-size: 13px;
    color: #64748B;
}

.controle-search-input-wrap {
    position: relative;
}

.controle-search-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #5028F3;
}

.controle-search-input-wrap input {
    width: 100%;
    padding: 12px 16px 12px 38px;
    border-radius: 12px;
    border: 1.5px solid #D5DCE8;
    font-size: 14px;
}

.controle-search-results {
    margin-top: 8px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
}

.controle-search-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #F1F5F9;
}

.controle-search-result-row:last-child {
    border-bottom: none;
}

.ctrl-res-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctrl-res-left a {
    color: #5028F3;
    text-decoration: none;
}

.ctrl-res-left small {
    display: block;
    color: #64748B;
    font-size: 12px;
}

.controle-active-promoters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.controle-active-promo-card {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #E5E9F4;
    background: #F8FAFC;
}

.active-promo-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.active-promo-meta {
    flex: 1;
    min-width: 0;
}

.active-promo-meta strong {
    display: block;
    font-size: 14px;
    color: var(--color-ink);
}

.active-promo-meta a {
    font-size: 12.5px;
    font-weight: 700;
    color: #5028F3;
    text-decoration: none;
}

.btn-remove-promo-sm {
    background: #FFFFFF;
    border: 1px solid #FECACA;
    color: #DC2626;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    cursor: pointer;
}

.active-promo-link-gen {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #DCE3F0;
}

.active-promo-link-gen label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.promo-gen-festa-select {
    width: 100%;
    padding: 8px 11px;
    border-radius: 9px;
    border: 1.5px solid #DCE3F0;
    background: #FFFFFF;
    font-size: 12.5px;
    font-weight: 600;
}

/* 7. Single Festa & Single Organização Promoter Banners */
.festa-promoter-ref-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #F5F3FF 0%, #EEF2FF 100%);
    border: 1.5px solid #DDD6FE;
    font-size: 13.5px;
    color: #3730A3;
}

.promo-ref-badge-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.promo-ref-badge-left i {
    color: #5028F3;
}

.promo-ref-badge-left a {
    color: #5028F3;
    text-decoration: none;
}

.promo-ref-profile-link {
    font-size: 12.5px;
    font-weight: 800;
    color: #5028F3;
    text-decoration: none;
    white-space: nowrap;
}

.festa-my-promoter-share-bar {
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #F0FDF4;
    border: 1.5px solid #BBF7D0;
}

.my-promo-share-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #065F46;
}

.my-promo-share-head strong {
    display: block;
    font-size: 14px;
}

.my-promo-share-head small {
    font-size: 12px;
}

.org-pending-pill-cnt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
}

.btn-org-contact.btn-promoter-req.is-pending {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.btn-org-contact.btn-promoter-req.is-active {
    background: #D1FAE5;
    color: #047857;
    border-color: #A7F3D0;
}

/* Responsive Promoter & Control Layouts */
@media (max-width: 900px) {
    .promo-requirements-grid,
    .promo-onboarding-layout,
    .promo-festas-links-grid,
    .promo-orgs-directory-grid,
    .controle-kpis-grid,
    .controle-active-promoters-grid,
    .controle-filter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promoter-dashboard-hero {
        padding: 20px 18px;
    }
    .promo-permalink-copy-row input {
        min-width: 0;
        width: 100%;
    }
    .promo-dash-kpis {
        width: 100%;
    }
    .promo-kpi-box {
        flex: 1;
        min-width: 95px;
    }
}

/* ==========================================================================
   Email Verification & 6-Digit Code System (nao-responda@aspparty.com)
   ========================================================================== */
.aspparty-top-notice .notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.notice-info-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #92400E;
}

.notice-code-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notice-code-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-verify-code {
    width: 105px;
    height: 36px;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
    text-align: center;
    color: #1E1B4B;
    background: #FFFFFF;
    border: 1.5px solid #FCD34D;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Courier New', Courier, monospace;
}

.input-verify-code:focus {
    border-color: #5028F3;
    box-shadow: 0 0 0 3px rgba(80, 40, 243, 0.15);
}

.btn-notice-code-submit {
    height: 36px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1788E5 0%, #5028F3 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-notice-code-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 40, 243, 0.3);
}

/* Warning Ticket Card 6-Digit Form */
.tickets-email-verify-card .code-verify-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.input-verify-code-lg {
    width: 150px;
    height: 44px;
    padding: 6px 14px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 5px;
    text-align: center;
    color: #1E1B4B;
    background: #FFFFFF;
    border: 2px solid #5028F3;
    border-radius: 10px;
    outline: none;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.2s ease;
}

.input-verify-code-lg:focus {
    box-shadow: 0 0 0 4px rgba(80, 40, 243, 0.2);
}

/* Perfil 6-Digit Code Row */
.perfil-email-verify-notice {
    padding: 12px 14px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px;
}

.email-unverified-tag {
    font-size: 12px;
    font-weight: 700;
    color: #D97706;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.email-verified-tag {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.perfil-code-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm-gradient {
    height: 36px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1788E5 0%, #5028F3 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-sm-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(80, 40, 243, 0.25);
}

/* Modal 6-Digit Card */
.modal-verify-code-card {
    max-width: 440px;
    padding: 32px 28px;
    border-radius: 20px;
}

.verify-code-modal-header .verify-code-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(23, 136, 229, 0.15), rgba(80, 40, 243, 0.15));
    border: 1px solid rgba(80, 40, 243, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #5028F3;
}

.verify-code-modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 8px 0;
}

.verify-code-modal-header p {
    font-size: 13.5px;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}

.input-verify-code-giant {
    width: 100%;
    max-width: 260px;
    height: 56px;
    margin: 12px auto;
    display: block;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 10px;
    text-align: center;
    color: #1E1B4B;
    background: #F8FAFC;
    border: 2px solid #5028F3;
    border-radius: 14px;
    outline: none;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.2s ease;
}

.input-verify-code-giant:focus {
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(80, 40, 243, 0.25);
}

.btn-link-action {
    background: none;
    border: none;
    color: #5028F3;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-left: 4px;
}

.btn-link-action:hover {
    color: #1788E5;
}

@media (max-width: 768px) {
    .aspparty-top-notice .notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .notice-code-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .notice-code-form {
        flex: 1;
    }
    .input-verify-code {
        flex: 1;
        min-width: 80px;
    }
    .tickets-email-verify-card .code-verify-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .input-verify-code-lg {
        width: 100%;
    }
}

/* ==========================================================================
   Painel de Controle do Promotor (Gráfico Diário, Eventos & Proteção Reembolso)
   ========================================================================== */
.promo-control-panel-card {
    padding: 24px;
}

.promo-control-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.promo-control-panel-head h2 {
    margin: 8px 0 6px;
    font-size: 22px;
    font-weight: 900;
    color: var(--color-ink);
}

.promo-control-panel-head p {
    margin: 0;
    font-size: 13.5px;
    color: #64748B;
    max-width: 560px;
}

.promo-control-filters {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.promo-filter-select-wrap,
.promo-filter-period-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-filter-select-wrap label,
.promo-filter-period-wrap label {
    font-size: 11.5px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.promo-filter-select-wrap select {
    min-width: 240px;
    max-width: 340px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1.5px solid #D5DCE8;
    background: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    cursor: pointer;
}

.promo-period-pills {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    padding: 3px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    gap: 3px;
}

.promo-period-pill {
    height: 32px;
    padding: 0 11px;
    border-radius: 8px;
    background: transparent;
    color: #64748B;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.promo-period-pill:hover {
    color: var(--color-ink);
}

.promo-period-pill.is-active {
    background: #FFFFFF;
    color: #5028F3;
    box-shadow: 0 2px 6px rgba(15, 11, 38, 0.08);
}

.promo-panel-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.promo-panel-kpi-card {
    background: #F8FAFC;
    border: 1px solid #E5E9F4;
    border-radius: 16px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pp-kpi-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pp-ico-blue { background: #DBEAFE; color: #1788E5; }
.pp-ico-purple { background: #EDE9FE; color: #5028F3; }
.pp-ico-amber { background: #FEF3C7; color: #D97706; }
.pp-ico-emerald { background: #D1FAE5; color: #059669; }

.pp-kpi-body small {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
}

.pp-kpi-body strong {
    display: block;
    font-size: 21px;
    font-weight: 900;
    color: var(--color-ink);
    line-height: 1.15;
    margin: 2px 0;
}

.pp-kpi-body span {
    font-size: 11.5px;
    color: #64748B;
}

.promo-refund-protection-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-radius: 12px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    color: #0369A1;
    font-size: 12.5px;
    line-height: 1.45;
}

.promo-refund-protection-note i {
    font-size: 16px;
    flex-shrink: 0;
}

.promo-daily-chart-section {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #E5E9F4;
}

.promo-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.promo-chart-header h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-chart-header small {
    font-size: 12px;
    color: #64748B;
}

.promo-chart-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.promo-chart-legend .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.promo-chart-legend .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.promo-chart-legend .legend-dot.is-visits {
    background: #1788E5;
}

.promo-chart-legend .legend-dot.is-orders {
    background: #5028F3;
    border-radius: 50%;
}

.promo-chart-canvas-wrap {
    position: relative;
    width: 100%;
    min-height: 240px;
}

.promo-chart-canvas-wrap canvas {
    display: block;
    width: 100%;
    cursor: crosshair;
}

.promo-chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(20, 16, 48, 0.95);
    color: #FFFFFF;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 10px 25px rgba(15, 11, 38, 0.25);
    z-index: 15;
    min-width: 168px;
}

.pct-tt-date {
    font-weight: 800;
    font-size: 12px;
    color: #E2E8F0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 4px;
    margin-bottom: 5px;
}

.pct-tt-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pct-tt-row .tt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pct-tt-row .tt-dot.is-v { background: #38BDF8; }
.pct-tt-row .tt-dot.is-o { background: #A78BFA; }
.pct-tt-row .tt-dot.is-r { background: #34D399; }

.pct-tt-conv {
    margin-top: 4px;
    font-size: 11px;
    color: #CBD5E1;
}

.promo-daily-table-toggle-row {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.promo-daily-table-wrap {
    margin-top: 12px;
}

.promo-daily-breakdown-table tr.is-has-activity {
    background: #F8FAFF;
}

.promo-events-breakdown-section {
    margin-top: 22px;
}

.promo-events-breakdown-section h3 {
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 800;
    color: var(--color-ink);
}

.promo-events-breakdown-section p {
    margin: 0;
    font-size: 13px;
    color: #64748B;
}

.promo-event-tbl-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.promo-tbl-meta {
    display: block;
    font-size: 11.5px;
    color: #64748B;
}

.promo-conv-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #EEF2FF;
    color: #4338CA;
    font-size: 12px;
    font-weight: 800;
}

.promo-tbl-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.promoter-self-panel-bar {
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
    border-color: #C7D2FE;
}

/* Reembolso & Auditoria em /controle-promotores/ e /meus-ingressos/ */
.promo-refund-count-tag {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #DC2626;
}

.order-row-refund-excluded {
    background: #FFF5F5;
    opacity: 0.9;
}

.val-strikethrough {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 11.5px;
}

.val-zero-note {
    display: block;
    font-weight: 800;
    color: #DC2626;
    font-size: 11px;
}

.ord-status-pill.is-refund {
    background: #FEE2E2;
    color: #991B1B;
}

.ord-status-pill.is-refund-req {
    background: #FEF3C7;
    color: #92400E;
}

.ord-refund-reason-note {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    color: #64748B;
}

.ord-refund-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.btn-xs-refund,
.btn-xs-restore {
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.16s ease;
}

.btn-xs-refund {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.btn-xs-refund:hover {
    background: #FEE2E2;
}

.btn-xs-restore {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}

.btn-xs-restore:hover {
    background: #D1FAE5;
}

.btn-ticket-refund-req {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 9px;
    background: #FFFFFF;
    border: 1px solid #FECACA;
    color: #DC2626;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.18s ease;
}

.btn-ticket-refund-req:hover {
    background: #FEF2F2;
    border-color: #F87171;
}

@media (max-width: 960px) {
    .promo-panel-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .promo-control-panel-card {
        padding: 16px;
    }
    .promo-panel-kpi-grid {
        grid-template-columns: 1fr;
    }
    .promo-filter-select-wrap select {
        min-width: 0;
        width: 100%;
    }
    .promo-control-filters {
        width: 100%;
    }
    .promo-filter-select-wrap,
    .promo-filter-period-wrap {
        width: 100%;
    }
}

/* ==========================================================================
   v2.0.9: Requisitos de Organização, Promotor no Checkout, Links Diretos,
           Pré-Cadastro e Comissão Adicionada por Cima
   ========================================================================== */

/* Aviso de requisitos para criar organização */
.org-requirements-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(80, 40, 243, 0.06) 0%, rgba(23, 136, 229, 0.06) 100%);
    border: 1.5px solid rgba(80, 40, 243, 0.22);
    color: var(--color-ink);
}

.org-requirements-notice i {
    font-size: 17px;
    color: #5028F3;
    margin-top: 2px;
    flex-shrink: 0;
}

.org-requirements-notice strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #1E1B4B;
    margin-bottom: 2px;
}

.org-requirements-notice span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #475569;
}

#hint-auth-cnpj-rut,
#hint-cnpj-rut,
#hint-edit-cnpj-rut {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    color: var(--color-muted);
    font-weight: 500;
}

/* Card de identificação do promotor dentro do Checkout */
.checkout-promoter-identity-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(23, 136, 229, 0.07) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.34);
}

.checkout-promoter-identity-box .cpi-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #065F46;
}

.cpi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #5028F3, #1788E5);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

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

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

.cpi-label-row {
    margin-bottom: 3px;
}

.cpi-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #10B981;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cpi-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: var(--color-ink);
}

.cpi-name-row strong {
    font-weight: 800;
}

.cpi-handle-link {
    font-size: 12px;
    font-weight: 800;
    color: #5028F3;
    background: rgba(80, 40, 243, 0.09);
    padding: 2px 8px;
    border-radius: 999px;
    text-decoration: none;
}

a.cpi-handle-link:hover {
    background: rgba(80, 40, 243, 0.16);
}

.cpi-sub {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: #065F46;
    font-weight: 600;
}

/* Discriminação de taxa adicionada por cima no Checkout */
.checkout-fee-breakdown-box {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-fee-breakdown-box .fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #475569;
}

.checkout-fee-breakdown-box .fee-row strong {
    font-weight: 700;
    color: var(--color-ink);
}

.checkout-fee-breakdown-box .fee-row-platform strong {
    color: #5028F3;
}

.checkout-fee-breakdown-box .fee-row-total {
    padding-top: 7px;
    margin-top: 2px;
    border-top: 1px dashed #CBD5E1;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-ink);
}

.checkout-fee-breakdown-box .fee-row-total strong {
    font-size: 15.5px;
    font-weight: 800;
    color: #5028F3;
}

/* Banner de Boas-Vindas do Pré-Cadastro */
.precadastro-welcome-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ECFDF5 0%, #EEF2FF 100%);
    border: 1.5px solid #6EE7B7;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08);
}

.precadastro-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #10B981;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.precadastro-banner-body {
    flex: 1;
    min-width: 0;
}

.precadastro-banner-body strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #065F46;
    margin-bottom: 3px;
}

.precadastro-banner-body p {
    margin: 0;
    font-size: 12.8px;
    line-height: 1.45;
    color: #1E293B;
}

.precadastro-banner-actions {
    flex-shrink: 0;
}

.precadastro-banner-actions .btn-primary-gradient {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
}

/* Info Box de Comissão na Criação de Festa & Preview no Lote */
.festa-fee-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #F0FDF4;
    border: 1.5px solid #BBF7D0;
    color: #065F46;
    font-size: 13px;
    line-height: 1.45;
}

.festa-fee-info-box i {
    font-size: 18px;
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

.festa-fee-info-box strong {
    font-weight: 800;
}

.tier-buyer-preview {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #5028F3;
    line-height: 1.3;
}

.sidebar-fee-note {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Controles de Taxa Customizada no Modal Editar Organização (Admin) */
.admin-split-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-split-header-row .admin-split-title {
    margin-bottom: 0;
}

.admin-custom-split-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #5028F3;
    background: rgba(80, 40, 243, 0.08);
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid rgba(80, 40, 243, 0.2);
}

.admin-custom-split-toggle input[type="checkbox"] {
    accent-color: #5028F3;
    cursor: pointer;
    margin: 0;
}

.aspparty-form input.input-readonly-muted,
.aspparty-form input[disabled] {
    background-color: #F1F5F9 !important;
    color: #64748B !important;
    cursor: not-allowed !important;
}

/* Controles de Link Direto para WhatsApp dos Promotores */
.promo-direct-link-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 12px;
}

.promo-direct-mode-pills {
    display: inline-flex;
    background: #EEF2F7;
    border-radius: 11px;
    padding: 3px;
    gap: 4px;
    flex-wrap: wrap;
}

.promo-mode-pill {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.16s ease;
}

.promo-mode-pill.is-active {
    background: #FFFFFF;
    color: #5028F3;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.promo-mode-pill[data-mode="direct"].is-active,
#single-promo-mode-direct.is-active {
    background: #25D366;
    color: #FFFFFF;
}

.promo-direct-tier-select {
    flex: 1;
    min-width: 210px;
    height: 36px;
    padding: 6px 32px 6px 11px;
    border-radius: 10px;
    border: 1.5px solid #CBD5E1;
    background-color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    text-overflow: ellipsis;
}

.promo-direct-tier-select:focus {
    outline: none;
    border-color: #5028F3;
}

.ctrl-direct-link-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #065F46;
    cursor: pointer;
    user-select: none;
}

.ctrl-direct-link-toggle input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #25D366;
    cursor: pointer;
    margin: 0;
}

.ctrl-direct-link-toggle input[type="checkbox"]:disabled + span {
    color: #94A3B8;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .btn-remove-tier {
        margin-top: 0;
        width: 100%;
        height: 40px;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .precadastro-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 16px;
    }
    .precadastro-banner-actions {
        width: 100%;
    }
    .precadastro-banner-actions .btn-primary-gradient {
        width: 100%;
        justify-content: center;
    }
    .promo-direct-link-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .promo-direct-mode-pills {
        width: 100%;
    }
    .promo-mode-pill {
        flex: 1;
        justify-content: center;
    }
    .promo-direct-tier-select {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .checkout-promoter-identity-box {
        align-items: flex-start;
    }
    .admin-split-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

