/* =============================================
   Reserva1 — styles.css
   ============================================= */

:root {
    --r1-orange:      #FF6B00;
    --r1-orange-dark: #E05A00;
    --r1-orange-light:#FFF3E6;
    --r1-dark:        #1A1A2E;
    --r1-dark2:       #16213E;
    --r1-gray:        #6C757D;
    --r1-border:      #DEE2E6;
    --r1-radius:      12px;
    --r1-shadow:      0 2px 16px rgba(0,0,0,.08);
}

/* ---- Base ---- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F8F9FA;
    color: #212529;
    -webkit-tap-highlight-color: transparent;
}
#main-content {
    padding-bottom: 64px;
}
/* ---- Navbar ---- */
.bg-primary-r1 {
    background: linear-gradient(135deg, var(--r1-dark), var(--r1-dark2)) !important;
}
.navbar .container-fluid { position: relative; }
.navbar-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    opacity: .92;
}
.navbar-icon-btn:hover {
    background: rgba(255,255,255,.12);
    opacity: 1;
}
.navbar-icon-btn i {
    font-size: 1rem;
    line-height: 1;
}
.navbar-match-cta {
    border-radius: 999px;
    padding: .34rem .72rem;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1;
    background: rgba(255, 107, 0, .18);
    border: 1px solid rgba(255, 255, 255, .26);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.navbar-match-cta:hover {
    background: rgba(255, 107, 0, .3);
    color: #fff;
}
@media (max-width: 576px) {
    .navbar-match-cta {
        padding: .28rem .6rem;
        font-size: .78rem;
    }
}
.brand-logo-mobile {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .3px;
    color: #fff;
}
.navbar-create-mobile {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.navbar-create-mobile i {
    font-size: 1rem;
    line-height: 1;
}
.notif-dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--r1-orange);
    border: 1px solid #fff;
}
.bell-shake {
    animation: bell-swing 0.9s ease;
    transform-origin: top center;
}
@keyframes bell-swing {
    0% { transform: rotate(0); }
    20% { transform: rotate(20deg); }
    40% { transform: rotate(-16deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-6deg); }
    100% { transform: rotate(0); }
}
#busca-global-resultados .resultado-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
    background: #fff;
}
#busca-global-resultados .resultado-item:hover {
    border-color: var(--r1-orange);
    background: var(--r1-orange-light);
}
#notificacoes-lista .notificacao-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
}
#notificacoes-lista .notificacao-item.nao-lida {
    border-color: #ffd9bf;
    background: #fff8f3;
}

/* ---- Cards ---- */
.card {
    border: none;
    border-radius: var(--r1-radius);
    box-shadow: var(--r1-shadow);
}
.card-evento {
    border-radius: var(--r1-radius);
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}
.card-evento:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* ---- Avatar ---- */
.avatar-sm, .avatar-md, .avatar-lg {
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: inline-block;
}
.avatar-sm { width: 36px; height: 36px; }
.avatar-md { width: 52px; height: 52px; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-xl { width: 128px; height: 128px; border-radius: 50%; background-size: cover; background-position: center; display: inline-block; }
.avatar-xl.perfil-avatar-pro { position: relative; overflow: visible; }

/* ---- Plus badge ---- */
.badge-plus {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5a3a00;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .5px;
}
.avatar-plus-wrapper { position: relative; display: inline-block; }
.avatar-plus-wrapper .plus-ring { position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #FFD700; pointer-events: none; }

/* Pro — dourado brilhante (plano selecionado pelo usuário) */
@keyframes r1-pro-shine {
    0%, 100% { filter: brightness(1) saturate(1.05); box-shadow: 0 0 10px rgba(255, 193, 7, .55), 0 2px 8px rgba(0, 0, 0, .2); }
    50% { filter: brightness(1.15) saturate(1.15); box-shadow: 0 0 16px rgba(255, 224, 130, .95), 0 2px 10px rgba(0, 0, 0, .22); }
}
/* Pulso de brilho no escudo Pro (a cada 4s) */
@keyframes r1-pro-shield-shine {
    0%, 90% {
        filter:
            drop-shadow(0 0 0.45px rgba(62, 42, 8, 0.55))
            drop-shadow(0 0 1px rgba(45, 32, 8, 0.28))
            brightness(1.12) saturate(1.18);
    }
    93% {
        filter:
            drop-shadow(0 0 0.5px rgba(62, 42, 8, 0.62))
            drop-shadow(0 0 1.1px rgba(45, 32, 8, 0.34))
            brightness(1.58) saturate(1.38);
    }
    97%, 100% {
        filter:
            drop-shadow(0 0 0.45px rgba(62, 42, 8, 0.55))
            drop-shadow(0 0 1px rgba(45, 32, 8, 0.28))
            brightness(1.12) saturate(1.18);
    }
}
@keyframes r1-pro-badge-glass {
    0%, 70% { background-position: 0% 40%; }
    82% { background-position: 100% 55%; }
    100% { background-position: 0% 40%; }
}
@keyframes r1-pro-shine-banner {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.badge-pro {
    display: inline-block;
    background: linear-gradient(135deg, #fff8e1 0%, #ffd54f 35%, #ffb300 55%, #ffca28 100%);
    color: #3d2a05;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 213, 79, .95);
    box-shadow:
        0 0 12px rgba(255, 193, 7, .65),
        inset 0 1px 0 rgba(255, 255, 255, .75);
    animation: r1-pro-shine 2.8s ease-in-out infinite;
}
.badge-pro--destaque-nome {
    font-size: 11px;
    padding: 4px 12px;
}
.avatar-pro-slot {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
}
.avatar-pro-slot--nav .navbar-user-avatar {
    display: block;
}
.avatar-pro-slot--menu .navbar-user-menu-avatar {
    display: block;
}
.pro-selo-shield {
    position: absolute;
    top: auto;
    bottom: -5px;
    right: -5px;
    left: auto;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.pro-selo-shield > .bi,
.pro-selo-shield > i {
    position: relative;
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    color: #d4a017;
    background-image: linear-gradient(
        165deg,
        #fff9d0 0%,
        #ffe566 18%,
        #ffd54f 38%,
        #ffb300 58%,
        #e6a000 82%,
        #b8860b 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 0.35px rgba(58, 40, 8, 0.22);
    filter:
        drop-shadow(0 0 0.45px rgba(62, 42, 8, 0.55))
        drop-shadow(0 0 1px rgba(45, 32, 8, 0.28))
        brightness(1.12) saturate(1.18);
    animation: r1-pro-shield-shine 4s ease-in-out infinite;
}
.pro-selo-shield--sm {
    bottom: 0;
    right: 0;
}
.pro-selo-shield--sm > .bi,
.pro-selo-shield--sm > i {
    font-size: 0.78rem;
}
.perfil-avatar.perfil-avatar-pro { position: relative; overflow: visible; }
/* Badge “PRO” premium ao final do nome (listagens, perfil, menu) */
.badge-pro-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.15;
    padding: 2px 6px;
    text-transform: uppercase;
    color: #2f2104;
    border-radius: 4px;
    border: 1px solid rgba(160, 110, 28, 0.38);
    background: linear-gradient(180deg, #fff9e6 0%, #f0d56a 45%, #d4a017 100%);
    box-shadow: none;
    animation: none;
    pointer-events: none;
    vertical-align: middle;
}
.nome-pro-inline-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    max-width: 100%;
    min-width: 0;
    row-gap: 0.15rem;
}
.navbar-user-menu-name .nome-pro-inline-wrap {
    max-width: 100%;
}
.badge-pro-gold {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(2px, -4px);
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    color: #3d2a05;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff8e1, #ffd54f, #ffb300);
    border: 1px solid rgba(255, 213, 79, .9);
    box-shadow: 0 0 12px rgba(255, 193, 7, .7), inset 0 1px 0 rgba(255, 255, 255, .7);
    animation: r1-pro-shine 2.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.nome-pro-gold-wrap {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    max-width: 100%;
    vertical-align: bottom;
}
.navbar-user-pro-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 12px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d2a05;
    background: linear-gradient(90deg, #fff8e1 0%, #ffe082 18%, #ffd54f 35%, #ffb300 50%, #ffd54f 65%, #ffe082 82%, #fff8e1 100%);
    background-size: 200% 100%;
    animation: r1-pro-shine-banner 4s linear infinite;
    border-bottom: 1px solid rgba(184, 134, 11, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.navbar-user-pro-banner .bi-shield-fill {
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.9));
}
.perfil-avatar .pro-selo-shield.perfil-pro-selo-lg,
.avatar-xl.perfil-avatar-pro .pro-selo-shield.perfil-pro-selo-lg {
    bottom: 2px;
    right: 2px;
}
.perfil-avatar .pro-selo-shield.perfil-pro-selo-lg > .bi,
.perfil-avatar .pro-selo-shield.perfil-pro-selo-lg > i,
.avatar-xl.perfil-avatar-pro .pro-selo-shield.perfil-pro-selo-lg > .bi,
.avatar-xl.perfil-avatar-pro .pro-selo-shield.perfil-pro-selo-lg > i {
    font-size: 1.35rem;
}
.evento-card-footer-stacked .avatar-pro-slot .pro-selo-shield {
    bottom: 0;
    right: 0;
}
.evento-card-footer-stacked .avatar-pro-slot .pro-selo-shield > .bi,
.evento-card-footer-stacked .avatar-pro-slot .pro-selo-shield > i {
    font-size: 0.62rem;
}
.ed-perfil-foto-wrap {
    position: relative;
    display: inline-block;
}
.ed-perfil-foto-wrap .ed-perfil-badge-nofoto {
    position: absolute;
    top: -4px;
    right: -6px;
    transform: none;
}
.evento-hero .badge-pro-premium {
    color: #241805;
    border-color: rgba(140, 100, 24, 0.4);
    box-shadow: none;
}
.nome-pro-slot-link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

/* Criar evento — destaque de campos obrigatórios não preenchidos */
.form-control.r1-ce-invalid,
.form-select.r1-ce-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.22) !important;
}
#ev-rec-dias-wrap.r1-ce-invalid label.btn {
    outline: 2px solid rgba(220, 53, 69, 0.65);
    outline-offset: 1px;
}
#vagas-lista.r1-ce-invalid {
    outline: 2px solid rgba(220, 53, 69, 0.65);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ---- Botões ---- */
.btn-r1 {
    background: var(--r1-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: .6rem 1.5rem;
    transition: background .2s, transform .1s;
}
.btn-r1:hover { background: var(--r1-orange-dark); color: #fff; }
.btn-r1:active { transform: scale(.97); }
.btn-r1-outline {
    background: transparent;
    border: 2px solid var(--r1-orange);
    color: var(--r1-orange);
    border-radius: 8px;
    font-weight: 600;
    padding: .55rem 1.5rem;
    transition: all .2s;
}
.btn-r1-outline:hover { background: var(--r1-orange); color: #fff; }
.btn.btn-outline-secondary.active,
.btn.btn-outline-secondary:active,
.btn-check:checked + .btn.btn-outline-secondary {
    background: var(--r1-orange);
    border-color: var(--r1-orange);
    color: #fff;
}

/* ---- Loading spinner ---- */
.btn-loading { position: relative; pointer-events: none; opacity: .75; }
.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Forms ---- */
.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--r1-border);
    padding: .65rem 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--r1-orange);
    box-shadow: 0 0 0 .2rem rgba(255,107,0,.15);
}
.input-group .form-control { border-radius: 0 8px 8px 0 !important; }
.input-group-text { background: #fff; border-color: var(--r1-border); border-radius: 8px 0 0 8px !important; color: var(--r1-gray); }
.nick-ok   { border-color: #198754 !important; }
.nick-err  { border-color: #dc3545 !important; }

/* ---- Wizard ---- */
.wizard-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(160deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);
}
.wizard-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.wizard-progress { height: 4px; border-radius: 2px; background: #eee; margin-bottom: 32px; }
.wizard-progress-bar { height: 100%; border-radius: 2px; background: var(--r1-orange); transition: width .4s ease; }
.wizard-plano-card {
    display: block;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.wizard-plano-card:hover { border-color: #ced4da; }
.wizard-plano-card.selected {
    border-color: var(--r1-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, .15);
}
.wizard-step { display: none; animation: fadeInUp .3s ease; }
.wizard-step.active { display: block; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.wizard-icon { font-size: 48px; margin-bottom: 16px; }

/* ---- Esporte chips ---- */
.esporte-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px solid var(--r1-border);
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    background: #fff;
}
.esporte-chip.selected {
    border-color: var(--r1-orange);
    background: var(--r1-orange-light);
    color: var(--r1-orange);
}
.esporte-chip:hover { border-color: var(--r1-orange); }

/* ---- Posicao chips ---- */
.posicao-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 2px solid var(--r1-border);
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
    background: #fff;
}
.posicao-chip.selected { border-color: #0D6EFD; background: #EBF3FF; color: #0D6EFD; }

/* Subopções do esporte no wizard — bloco com borda suave por modalidade */
.wizard-pos-wrap {
    border: 1px solid rgba(255, 107, 0, 0.22);
    border-radius: 14px;
    padding: 10px 10px 8px;
    margin-top: 8px;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.06) 0%, rgba(255, 255, 255, 0.5) 100%);
}

/* Checkboxes de disponibilidade (wizard / editar perfil) */
.disp-opt-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--r1-border, #e9ecef);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    margin-bottom: 8px;
}
.disp-opt-pill:hover {
    border-color: #ced4da;
}
.disp-opt-pill input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--r1-orange, #ff6b00);
    flex-shrink: 0;
}
.disp-opt-pill span.fw-600 {
    line-height: 1.25;
}
.disp-preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.disp-preset-row .btn {
    border-radius: 10px;
    font-size: 0.8125rem;
}

/* ---- Código de verificação ---- */
.codigo-inputs { display: flex; gap: 8px; justify-content: center; }
.codigo-input {
    width: 48px; height: 60px;
    font-size: 28px; font-weight: 700;
    text-align: center;
    border: 2px solid var(--r1-border);
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s;
    outline: none;
}
.codigo-input:focus { border-color: var(--r1-orange); }

/* ---- Landing page ---- */
.hero-section {
    background: linear-gradient(160deg, var(--r1-dark) 0%, var(--r1-dark2) 40%, #0F3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B00' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
    display: inline-block;
    background: rgba(255,107,0,.2);
    border: 1px solid rgba(255,107,0,.4);
    color: #FF8C00;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; }
.hero-title span { color: var(--r1-orange); }

/* ---- Feature cards (landing) ---- */
.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--r1-radius);
    background: #fff;
    box-shadow: var(--r1-shadow);
    height: 100%;
    transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }

/* ---- Pricing ---- */
.pricing-card {
    border-radius: var(--r1-radius);
    overflow: hidden;
    box-shadow: var(--r1-shadow);
    height: 100%;
}
.pricing-card .pricing-header { padding: 32px 24px; }
.pricing-card.plus .pricing-header { background: linear-gradient(135deg, #FFD700, #FFA500); }
.pricing-card.free .pricing-header { background: #f8f9fa; }
.pricing-price { font-size: 3rem; font-weight: 900; }
.pricing-price sup { font-size: 1.2rem; }
.pricing-price sub { font-size: 1rem; font-weight: 400; }

/* ---- Feed ---- */
.feed-wrap { max-width: 600px; margin: 0 auto; padding: 16px 12px 80px; }
.evento-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--r1-shadow);
}
.evento-card-header { padding: 16px 16px 12px; }
.evento-card-body { padding: 0 16px 16px; }
.evento-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
}
.evento-card-footer-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.evento-card-footer-stacked .evento-card-footer-actions {
    width: 100%;
    justify-content: center !important;
    margin-left: 0;
}
.evento-card-footer-stacked .evento-card-footer-author {
    margin-bottom: 0 !important;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}
.evento-card-footer-stacked .evento-card-footer-author .avatar-sm {
    width: 24px;
    height: 24px;
}
.evento-card-footer-stacked .evento-card-footer-creator {
    display: inline-block;
    max-width: min(100%, 280px);
    text-align: left;
    line-height: 1.35;
    font-size: 0.685rem;
    opacity: 0.8;
}
.evento-card-footer-stacked .evento-card-footer-creator-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: min(100%, 280px);
    text-align: left;
}
.evento-card-footer-stacked .evento-card-footer-creator-col .evento-card-footer-creator {
    max-width: 100%;
    text-align: left;
}
.evento-card-footer-stacked .evento-card-footer-organizer-badge {
    margin-top: -2px;
}
@media (max-width: 575.98px) {
    .evento-card-footer-stacked .evento-card-footer-creator {
        max-width: 100%;
        text-align: center;
    }
    .evento-card-footer-stacked .evento-card-footer-creator-col {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .evento-card-footer-stacked .evento-card-footer-creator-col .evento-card-footer-creator {
        text-align: center;
    }
}
.evento-card-footer-actions {
    width: auto;
    flex: 0 0 auto;
}
.esporte-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--r1-orange-light);
    color: var(--r1-orange);
}
.distancia-badge {
    font-size: 12px;
    color: var(--r1-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Perfil público ---- */
.perfil-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--r1-dark), #0F3460);
    position: relative;
}
.perfil-avatar-wrap {
    position: absolute;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
}
.perfil-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    border: 4px solid #fff;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
}
.perfil-info { padding-top: 60px; text-align: center; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.4rem; font-weight: 800; }
.stat-label { font-size: 11px; color: var(--r1-gray); text-transform: uppercase; letter-spacing: .5px; }

/* ---- Login / Cadastro ---- */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--r1-dark), var(--r1-dark2) 60%, #0F3460);
    padding: 20px;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.auth-logo { text-align: center; margin-bottom: 28px; font-size: 28px; font-weight: 900; }
.auth-logo span { color: var(--r1-orange); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--r1-gray); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--r1-border); }

/* ---- Google btn ---- */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: .65rem;
    border: 2px solid var(--r1-border);
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none;
}
.btn-google:hover { border-color: #4285F4; background: #F8FBFF; color: #333; }
.btn-google img { width: 20px; }

/* ---- Alertas inline ---- */
.alert-inline { font-size: 13px; padding: 8px 12px; border-radius: 8px; }

/* Erro inline — vermelho neon / tech (formulários em páginas claras) */
.alert.alert-danger.r1-neon-error {
    border: 1px solid #ff2d55;
    color: #e6003c;
    background: linear-gradient(145deg, rgba(255, 0, 60, 0.1), rgba(255, 0, 100, 0.06));
    box-shadow:
        0 0 14px rgba(255, 0, 80, 0.28),
        0 0 32px rgba(255, 0, 60, 0.12),
        inset 0 0 18px rgba(255, 40, 90, 0.07);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---- Location autocomplete ---- */
.location-suggestions {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--r1-border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 1050;
    max-height: 240px;
    overflow-y: auto;
}
.location-suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.location-suggestion-item:hover { background: var(--r1-orange-light); }
.location-suggestion-item:last-child { border-bottom: none; }

/* ---- Evento detalhe ---- */
.evento-hero {
    background: linear-gradient(135deg, var(--r1-dark), #0F3460);
    color: #fff;
    padding: 32px 20px;
}
.vagas-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.vagas-item:last-child { border-bottom: none; }

/* ---- Scroll mais suave ---- */
html { scroll-behavior: smooth; }

/* ---- Utilitários ---- */
.text-orange { color: var(--r1-orange) !important; }
.bg-orange { background: var(--r1-orange) !important; }
.border-orange { border-color: var(--r1-orange) !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.rounded-xl { border-radius: var(--r1-radius) !important; }
.shadow-r1 { box-shadow: var(--r1-shadow) !important; }

/* ---- Sexo chips ---- */
.sexo-opt { cursor: pointer; }
.sexo-opt input { display: none; }
.sexo-opt .sexo-card {
    border: 2px solid var(--r1-border);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all .2s;
    font-size: 13px;
}
.sexo-opt input:checked + .sexo-card {
    border-color: var(--r1-orange);
    background: var(--r1-orange-light);
    color: var(--r1-orange);
}

/* ---- Tipo de usuário ---- */
.tipo-opt { cursor: pointer; }
.tipo-opt input { display: none; }
.tipo-opt .tipo-card {
    border: 2px solid var(--r1-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all .2s;
}
.tipo-opt input:checked + .tipo-card {
    border-color: var(--r1-orange);
    background: var(--r1-orange-light);
    color: var(--r1-orange);
}

/* ---- Convites toggle ---- */
.toggle-opcao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.toggle-opcao:last-child { border-bottom: none; }

/* ---- Datas evento ---- */
.data-row {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}
.btn-remove-data {
    position: absolute;
    top: 8px; right: 8px;
    background: none; border: none;
    color: #dc3545; font-size: 18px;
    cursor: pointer; padding: 0;
}

/* ---- Candidaturas ---- */
.candidatura-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* Status de inscrição (jogador): botão “só leitura”, visual ativo */
.btn-ev-inscricao-estatica {
    cursor: default;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
}
.btn-ev-inscricao-aprovado {
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.55), 0 2px 10px rgba(25, 135, 84, 0.25);
}

/* ---- Depoimentos ---- */
.depoimento-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    position: relative;
}
.depoimento-card::before {
    content: '"';
    position: absolute;
    top: -8px; left: 14px;
    font-size: 48px;
    color: var(--r1-orange);
    line-height: 1;
    font-family: serif;
}
.depoimento-pendente {
    background: #fff8e6;
    border: 1px solid #ffe1a8;
}

/* ---- Paginação carregamento ---- */
#btn-mais-eventos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--r1-border);
    border-radius: 12px;
    background: #fff;
    color: var(--r1-gray);
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all .2s;
}
#btn-mais-eventos:hover { border-color: var(--r1-orange); color: var(--r1-orange); }

/* ---- Match ---- */
.match-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 12px 90px;
}
.match-filter-card {
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    min-height: 132px;
}
.match-filter-title {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}
.match-filter-value {
    font-weight: 700;
    font-size: 15px;
}
.match-map {
    height: 56vh;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
}
.match-player-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}
.match-sports {
    font-size: 12px;
    color: #6c757d;
}
.match-proximity-track {
    height: 8px;
    border-radius: 999px;
    background: #f0f0f0;
    overflow: hidden;
}
.match-proximity-fill {
    height: 100%;
    border-radius: 999px;
    transition: width .2s ease;
}
.match-ev-esporte-label {
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.match-ev-esporte-label-inner {
    white-space: normal;
    line-height: 1.25;
}
.match-wrap .match-ev-esporte-chk:checked + .match-ev-esporte-label {
    border-color: var(--r1-orange);
    background: var(--r1-orange-light);
    color: var(--r1-orange);
    font-weight: 600;
}

/* Estado vazio — lista de eventos no Match */
.match-empty-state {
    text-align: center;
    padding: 2.5rem 1.25rem 2.85rem;
    margin: 0.35rem 0 0.5rem;
    background: linear-gradient(165deg, #f8f9fb 0%, #fff 42%, #fff 100%);
    border: 1px solid #eceef2;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(26, 26, 46, 0.07);
}
.match-empty-state-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--r1-orange-light) 0%, #fff 70%);
    border: 1px solid rgba(255, 107, 0, 0.18);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.05rem;
    color: var(--r1-orange);
    line-height: 1;
}
.match-empty-state-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #3d4454;
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

/* ---- Menu do usuário (navbar) ---- */
.navbar-user-dropdown .dropdown-toggle::after {
    display: none;
}
.navbar-user-toggle {
    border-radius: 999px;
    padding: 2px;
    background: transparent;
}
.navbar-user-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .65);
    outline-offset: 2px;
}
.navbar-user-avatar-ring {
    display: inline-flex;
    padding: 2px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255, 107, 0, .95), rgba(255, 180, 120, .55));
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}
.navbar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #1a1a2e;
    display: block;
}
.navbar-user-menu {
    min-width: 288px;
    border-radius: 16px !important;
    padding: 0;
    margin-top: 10px !important;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18) !important;
}
.navbar-user-menu-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px 10px;
    background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f3;
}
.navbar-user-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: var(--r1-shadow);
    border: 1px solid #e9ecef;
}
.navbar-user-menu-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.navbar-user-menu-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.12;
    margin: 0;
    padding: 0;
}
.navbar-user-menu-nick {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.12;
    margin: 1px 0 0;
    padding: 0;
}
.navbar-user-menu-perfil-link {
    display: inline-flex;
    align-items: center;
    margin: 1px 0 0;
    padding: 0;
    line-height: 1.12;
    font-size: 12px;
    font-weight: 600;
    color: var(--r1-orange);
    text-decoration: none;
}
.navbar-user-menu-meta > .badge.badge-plus {
    margin-top: 3px;
}
.navbar-user-menu-perfil-link:hover {
    color: var(--r1-orange-dark);
    text-decoration: underline;
}
.navbar-user-menu-body {
    padding: 8px 10px 12px;
    background: #fff;
}
.navbar-user-item {
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}
.navbar-user-item:hover,
.navbar-user-item:focus {
    background: #f4f6f8;
    color: #212529;
}
.navbar-user-item-icon {
    color: var(--r1-orange);
    opacity: 0.95;
}
.navbar-user-item.text-danger .navbar-user-item-icon {
    color: inherit;
    opacity: 1;
}

/* ---- Página Meus amigos ---- */
.amigos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
#amigos-tabs {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 7px;
    box-shadow: var(--r1-shadow);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#amigos-tabs::-webkit-scrollbar {
    display: none;
}
#amigos-tabs .nav-item {
    flex: 0 0 34%;
    min-width: 110px;
}
#amigos-tabs .nav-link {
    width: 100%;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #5f6770;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 10px;
    transition: all 0.15s ease;
}
#amigos-tabs .nav-link:hover {
    border-color: #f0d7c2;
    background: #fff6f0;
    color: var(--r1-orange-dark);
}
#amigos-tabs .nav-link.active {
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b00 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(255, 107, 0, .28);
}
@media (min-width: 576px) {
    #amigos-tabs .nav-item {
        flex: 1 1 160px;
        min-width: 0;
    }
}
.amigos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 576px) {
    .amigos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
.amigo-card-mini {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    box-shadow: var(--r1-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    min-height: 196px;
}
.amigo-card-mini:hover {
    transform: translateY(-2px);
    border-color: #ffd8bf;
    box-shadow: 0 8px 24px rgba(255, 107, 0, .12);
    color: inherit;
}
.amigo-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    padding: 12px 10px 12px;
}
.amigo-card-link:hover {
    color: inherit;
}
.amigo-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    margin-bottom: 8px;
    flex-shrink: 0;
}
.amigo-card-body {
    width: 100%;
    min-width: 0;
}
.amigo-card-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    color: #1a1a2e;
}
.amigo-card-nick {
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
    margin-bottom: 6px;
}
.amigo-card-sport {
    font-size: 11px;
    font-weight: 600;
    color: var(--r1-orange-dark);
    line-height: 1.3;
}
.amigo-amizade-linha {
    display: block;
    width: 100%;
    border: 0;
    border-top: 1px solid #f1f2f4;
    background: #fafbfc;
    padding: 8px 10px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    color: #5c636a;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    transition: background 0.15s ease, color 0.15s ease;
}
.amigo-amizade-linha:hover,
.amigo-amizade-linha:focus {
    background: #f0f2f5;
    color: #3d4449;
    outline: none;
}
.popover.amigo-amizade-popover {
    font-size: 13px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid #e9ecef;
}
.popover.amigo-amizade-popover .popover-body {
    padding: 10px 12px;
    font-weight: 600;
    color: #1a1a2e;
}
.amigo-card-actions {
    border-top: 1px solid #f1f2f4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px;
    background: #fcfcfd;
}
.amigo-action-btn {
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}
.amigo-action-btn i {
    font-size: 1rem;
    line-height: 1;
}
.amigo-action-btn:hover {
    background: #f6f7f9;
    color: #495057;
}
.amigo-action-btn.is-active {
    color: #dc3545;
    border-color: rgba(220, 53, 69, .28);
    background: rgba(220, 53, 69, .08);
}
.amigo-action-btn.is-danger {
    color: #dc3545;
    border-color: rgba(220, 53, 69, .35);
    background: rgba(220, 53, 69, .1);
}
.tooltip.amigo-tooltip-danger {
    --bs-tooltip-bg: #dc3545;
    --bs-tooltip-color: #fff;
    --bs-tooltip-opacity: 1;
}
.tooltip.amigo-tooltip-danger .tooltip-inner {
    font-weight: 700;
    padding: 7px 10px;
    box-shadow: 0 10px 24px rgba(220, 53, 69, .35);
}
.amigos-vazio-card {
    max-width: 360px;
}
.amigos-count-badge {
    font-weight: 600;
    font-size: 12px;
}

/* ---- Busca global (modal) ---- */
.busca-global-modal {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 54px rgba(16, 24, 40, .22);
}
.busca-global-head {
    background: linear-gradient(130deg, #fff4ec 0%, #fff 55%, #ffe7d7 100%);
    padding-bottom: 8px;
}
.busca-global-head-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--r1-orange-dark);
    background: #ffe4d1;
    border: 1px solid #ffd6bb;
}
.busca-global-body {
    padding-bottom: 20px;
}
.busca-global-tipos .js-busca-tipo {
    border-radius: 999px;
    font-weight: 700;
    padding-inline: 14px;
    border: 1px solid #cfd4da;
    color: #5e6770;
    background: #fff;
    transition: all 0.15s ease;
}
.busca-global-tipos .js-busca-tipo:hover {
    border-color: #f0d7c2;
    background: #fff6f0;
    color: var(--r1-orange-dark);
}
.busca-global-tipos .js-busca-tipo.btn-r1.active,
.busca-global-tipos .js-busca-tipo.active {
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b00 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 107, 0, .28);
}
.busca-global-input-wrap .form-control {
    border-radius: 12px 0 0 12px;
    border-color: #f1d5c0;
    min-height: 44px;
}
.busca-global-input-wrap .form-control:focus {
    border-color: #ffb480;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, .14);
}
.busca-global-input-wrap .btn {
    border-radius: 0 12px 12px 0;
    min-width: 108px;
}
.busca-global-hint {
    font-weight: 500;
}

/* ---- Página Busca ---- */
.busca-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--r1-shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.busca-card:hover {
    color: inherit;
    border-color: #ffd8bf;
    box-shadow: 0 8px 24px rgba(255, 107, 0, .12);
    transform: translateY(-1px);
}
.busca-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--r1-orange-light);
    color: var(--r1-orange-dark);
    flex-shrink: 0;
}
.busca-card-icon i {
    font-size: 1rem;
    line-height: 1;
}
.busca-card-title {
    font-weight: 700;
    font-size: 0.96rem;
    color: #1a1a2e;
}
.busca-card-content {
    min-width: 0;
}
.busca-card-tag {
    background: #f8f1eb;
    color: #9a5b2f;
    border: 1px solid #f0d7c2;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    flex-shrink: 0;
}

/* ---- Responsividade ---- */
@media (max-width: 576px) {
    .auth-card, .wizard-card { padding: 28px 20px; }
    .hero-title { font-size: 2rem; }
}
