/* ============================================
   RIO NO TEATRO - REDESIGN PECA.PHP
   Design Moderno e Responsivo
   ============================================ */

/* === RESET E BASE === */
* {
    box-sizing: border-box;
}

/* :root com variáveis Dark (Padrão) movido para cá para garantir carregamento */
:root {
    /* Brand Colors */
    --primary-blue: #012444;
    --primary-yellow: #e4ff00;

    /* Backgrounds */
    --bg-body: #121212;
    --bg-surface: #1e1e1e;
    --bg-card: #012444;
    --bg-input: #2d2d2d;
    --bg-header: #012444;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6c757d;
    --text-inverse: #343a40;

    /* Borders & Dividers */
    --border-color: #333333;
    --border-light: #444444;

    /* UI Elements */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

    /* Misc */
    --radius: 8px;
    --transition: all 0.3s ease;

    /* Variáveis Dark Mode (Teatros/Eventos) */
    --dark-bg: #0D1117;
    --dark-card: #161B22;
    --dark-border: #30363D;
    --accent-green: #3FB950;
    --neon-glow: rgba(63, 185, 80, 0.4);
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    background: var(--bg-body) !important;
}

/* === HEADER MODERNO === */
.rnt-header {
    background: var(--bg-header) !important;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.rnt-header.scrolled {
    box-shadow: var(--shadow-md);
}

.rnt-header .rnt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent !important; /* Override rnt-container bg */
    max-width: 1200px; /* Mantém largura controlada no header */
    margin: 0 auto;
}

.rnt-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.rnt-logo-wrapper img {
    height: 50px;
    width: auto;
}

.rnt-nav {
    color: #ffffff;
    display: none;
    gap: 32px;
}

.rnt-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.rnt-nav a:hover {
    color: var(--text-muted);
}

.rnt-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

.rnt-nav a:hover::after {
    width: 100%;
}

.rnt-user-badge {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* === BOTÃO ENTRAR - DESIGN PREMIUM === */
.rnt-btn-entrar {
    /* Gradiente moderno com profundidade */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    backdrop-filter: blur(10px) !important;

    /* Borda sólida e elegante */
    border: 2px solid rgba(255, 255, 255, 0.8) !important;

    /* Tipografia refinada */
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    /* Espaçamento otimizado */
    padding: 10px 28px !important;

    /* Bordas suaves */
    border-radius: 8px !important;

    /* Sombra elevada para profundidade */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(255, 255, 255, 0.1) inset !important;

    /* Transições suaves */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;

    /* Posicionamento */
    position: relative !important;
    overflow: hidden !important;
    display: inline-block !important;
}

/* Efeito de brilho interno */
.rnt-btn-entrar::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s ease !important;
}

.rnt-btn-entrar:hover::before {
    left: 100% !important;
}

/* Estado de hover - Premium */
.rnt-btn-entrar:hover {
    /* Fundo sólido branco */
    background: #ffffff !important;

    /* Texto em azul forte */
    color: var(--primary-blue) !important;

    /* Borda mais forte */
    border-color: #ffffff !important;

    /* Elevação dramática */
    transform: translateY(-3px) scale(1.02) !important;

    /* Sombra glow amarela premium */
    box-shadow: 0 8px 25px rgba(228, 255, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(228, 255, 0, 0.3) !important;
}

/* Estado ativo (clique) */
.rnt-btn-entrar:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Estado de foco (acessibilidade) */
.rnt-btn-entrar:focus {
    outline: 3px solid rgba(228, 255, 0, 0.5) !important;
    outline-offset: 2px !important;
}

/* Remove estilizações conflitantes */
.rnt-btn-entrar::after {
    display: none !important;
}

/* === MENU DE USUÁRIO LOGADO === */
.rnt-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.rnt-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 25px;
    transition: var(--transition);
}

.rnt-user-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rnt-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.rnt-user-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rnt-user-arrow {
    color: #ffffff;
    font-size: 10px;
    transition: var(--transition);
}

.rnt-user-menu.active .rnt-user-arrow {
    transform: rotate(180deg);
}

/* Dropdown do Usuário */
.rnt-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.rnt-user-menu.active .rnt-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rnt-user-dropdown a {
    display: block !important;
    padding: 12px 20px !important;
    color: var(--gray-dark) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
    border-bottom: 1px solid var(--border-color);
}

.rnt-user-dropdown a:last-child {
    border-bottom: none;
}

.rnt-user-dropdown a:hover {
    background: var(--bg-input) !important;
    color: var(--primary-blue) !important;
    padding-left: 25px !important;
}

.rnt-user-dropdown a::after {
    display: none !important;
}

/* Hambúrguer sempre à direita em mobile */
.rnt-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    transition: var(--transition);
    position: relative;
}

.rnt-hamburger span {
    width: 28px;
    height: 3px;
    background: #ffffff !important;
    transition: var(--transition);
    border-radius: 2px;
}

/* Animação do X quando menu aberto - com cor branca */
.rnt-hamburger.active span {
    background: #ffffff;
}

.rnt-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.rnt-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.rnt-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Mobile com Overlay Escuro */
.rnt-mobile-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--bg-header) !important; /* Ajustado para variável do tema */
    z-index: 9999 !important;
    padding: 100px 24px 24px !important;
    overflow-y: auto !important;
}

.rnt-mobile-menu.active {
    display: block !important;
    animation: fadeIn 0.3s ease !important;
}

.rnt-mobile-menu a {
    display: block !important;
    padding: 20px 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(228, 255, 0, 0.2) !important;
    font-weight: 500 !important;
    font-size: 25px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.rnt-mobile-menu a:hover {
    color: #e4ff00 !important;
    padding-left: 10px !important;
}

.rnt-mobile-menu a:last-child {
    border-bottom: none !important;
}

/* Header do Usuário no Menu Mobile */
.rnt-mobile-user-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 25px 0 !important;
    border-bottom: 2px solid rgba(228, 255, 0, 0.3) !important;
    margin-bottom: 10px !important;
}

.rnt-mobile-avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--primary-yellow) !important;
    color: var(--primary-blue) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    border: 3px solid #ffffff !important;
    flex-shrink: 0 !important;
}

.rnt-mobile-user-name {
    color: var(--white) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.rnt-mobile-divider {
    height: 2px !important;
    background: rgba(228, 255, 0, 0.2) !important;
    margin: 10px 0 !important;
}

.rnt-mobile-logout {
    background: rgba(255, 59, 48, 0.15) !important;
    color: #ff3b30 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
}

.rnt-mobile-logout:hover {
    background: rgba(255, 59, 48, 0.25) !important;
    color: #ff3b30 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === HERO SECTION === */
.rnt-hero {
    /* Background removido conforme solicitação */
    padding: 32px 0;
}

.rnt-hero-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 32px;
}


.rnt-discount-badge {

    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 10;
    font-family: 'Oswald', sans-serif;
}

.rnt-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 24px 0 16px;
    line-height: 1.2;
    text-align: center !important;
}

/* === GALERIA MODERNA === */
.rnt-gallery {
    position: relative;
}

.rnt-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    cursor: pointer;
    transition: var(--transition);
}

.rnt-main-image:hover {
    transform: scale(1.02);
}

.rnt-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    padding: 16px;
    background: var(--bg-input);
}

.rnt-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.rnt-thumb:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

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

.rnt-thumb.video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === INFO CARDS === */
.rnt-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 24px;
}

.rnt-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius);
    transition: var(--transition);
}

.rnt-info-card:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.rnt-info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.rnt-info-content {
    flex: 1;
}

.rnt-info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.rnt-info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* === SECTIONS GERAIS === */
.rnt-section {
    background: var(--bg-body);
    padding: 32px 0;
}

.rnt-dates-section {
    background: var(--bg-body);
    padding: 32px 0;
}

.rnt-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 24px;
    padding: 16px 24px;
    background: var(--primary-yellow);
    border-radius: var(--radius);
    display: inline-block;
}

.rnt-preview-bot-col {
    margin-bottom: 15px;
}

.rnt-preview-bot-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: var(--bg-input);
    color: var(--text-primary);
    min-height: 96px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rnt-preview-bot-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rnt-preview-bot-day {
    color: var(--primary-yellow);
    font-size: 16px;
    line-height: 1.35;
}

.rnt-preview-bot-date {
    color: var(--text-primary);
}

.rnt-preview-bot-time {
    color: var(--text-secondary);
}

.rnt-preview-bot-note {
    color: var(--text-secondary);
    margin-top: 8px;
}

.rnt-preview-bot-alert {
    margin-bottom: 0;
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.rnt-content {
    padding: 0 24px 24px;
    line-height: 1.8;
    font-size: 16px;
}

/* === SEÇÃO LOCAL === */
.rnt-local-content {
    padding: 0 24px 24px;
}

.rnt-teatro-nome {
    font-size: 20px;
    color: var(--primary-yellow);
    margin-bottom: 12px;
}

.rnt-teatro-endereco {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

/* === SEÇÃO DÚVIDAS === */
.rnt-duvidas p {
    margin-bottom: 12px;
}

.rnt-duvidas a {
    text-decoration: none;
    font-weight: 600;
}

.rnt-duvidas a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.rnt-dates-carousel {
    padding: 0 24px 24px;
}

.rnt-date-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rnt-date-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.rnt-date-card.active {
    border-color: var(--primary-yellow);
    border-width: 3px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #fff9b3 100%);
    box-shadow: var(--shadow-md);
}

.rnt-date-card.active .rnt-date-number {
    color: var(--primary-blue);
}

/* Override Slick carousel height for date cards - comment out height: 100% */
.slick-slide {
    height: initial !important;
}

.rnt-date-day {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rnt-date-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-yellow);
    font-family: 'Oswald', sans-serif;
}

.rnt-date-time {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

/* === COMPRA === */
.rnt-purchase-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin: 24px 0;
}

.rnt-steps {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: space-around;
}

.rnt-step {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--radius);
    opacity: 0.5;
    transition: var(--transition);
}

.rnt-step.active {
    opacity: 1;
    background: var(--primary-yellow);
}

.rnt-step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}

.rnt-step-label {
    font-size: 14px;
    font-weight: 600;
}

.rnt-price-display {
    background: var(--bg-input);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.rnt-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 18px;
}

.rnt-price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Oswald', sans-serif;
}

.rnt-qty-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.rnt-qty-input {
    width: 80px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.rnt-btn-buy {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.rnt-btn-buy:hover {
    background: #152d6e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === BOTTOM BAR MOBILE === */
.rnt-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    z-index: 999;
}

.rnt-bottom-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.rnt-bottom-price {
    flex: 1;
}

.rnt-bottom-price-label {
    font-size: 12px;
    color: var(--text-muted);
}

.rnt-bottom-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Oswald', sans-serif;
}

.rnt-bottom-bar .rnt-btn-buy {
    flex: 1;
    max-width: 200px;
    padding: 14px;
}

/* === ACCORDION === */
.rnt-accordion {
    margin: 24px 0;
}

.rnt-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.rnt-accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.rnt-accordion-header:hover {
    background: var(--bg-input);
}

.rnt-accordion-icon {
    transition: var(--transition);
}

.rnt-accordion-item.active .rnt-accordion-icon {
    transform: rotate(180deg);
}

.rnt-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rnt-accordion-item.active .rnt-accordion-content {
    max-height: 2000px;
}

.rnt-accordion-body {
    padding: 0 20px 20px;
    line-height: 1.8;
}

/* === OFERTAS RELACIONADAS === */
.rnt-related {
    padding: 48px 0;
    background: var(--bg-input);
}

.rnt-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.rnt-offer-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.rnt-offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.rnt-offer-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.rnt-offer-content {
    padding: 16px;
}

.rnt-offer-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.rnt-offer-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rnt-offer-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}

.rnt-offer-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

/* === PÁGINA DE PEDIDO === */
.rnt-page-wrapper {
    min-height: 100vh;
    padding: 40px 20px;
}

.rnt-form-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    text-align: center;
}

.rnt-form-title {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.rnt-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 20px 0;
}

.rnt-alert-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: var(--radius);
    margin: 20px 0;
    color: #856404;
}

.rnt-alert-box strong {
    color: #856404;
}

.rnt-info-box {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    padding: 16px;
    border-radius: var(--radius);
    color: #0c5460;
    font-size: 14px;
}

.rnt-summary-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.rnt-summary-header {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 20px;
}

.rnt-summary-header h3 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.rnt-summary-body {
    padding: 24px;
    line-height: 1.8;
}

.rnt-summary-body strong {
    color: var(--primary-blue);
}

.rnt-coupon-section {
    background: var(--bg-input);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 24px;
}

.rnt-coupon-section h4 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 16px;
}

.rnt-order-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin: 30px auto;
    max-width: 1200px;
}

.rnt-order-header {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 20px;
}

.rnt-order-header h3 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
}

.rnt-order-body {
    padding: 32px;
}

.rnt-section-subtitle {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 24px;
}

/* === RESPONSIVIDADE === */
@media (min-width: 768px) {
    .rnt-nav {
        display: flex;
    }

    .rnt-hamburger {
        display: none;
    }

    .rnt-hero-title {
        font-size: 42px;
    }

    .rnt-main-image {
        height: 500px;
    }

    .rnt-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 767px) {
    .rnt-bottom-bar {
        display: block;
    }

    .rnt-purchase-section {
        margin-bottom: 80px;
    }

    .rnt-steps {
        flex-direction: column;
    }

    .rnt-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .rnt-hero-title {
        font-size: 48px;
    }

    .rnt-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === ANIMAÇÕES === */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === UTILITÁRIOS === */
.rnt-container {
    background: var(--bg-surface);
    border-radius: var(--radius);
    max-width: 100%; /* Ajustado para Full Width conforme solicitação */
    margin: 0 auto;
    padding: 20px 20px 20px 20px;
}

/* Override Global do Bootstrap Container para Full Width */
@media (min-width: 1200px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.rnt-text-center {
    text-align: center;
}

.rnt-mt-1 {
    margin-top: 8px;
}

.rnt-mt-2 {
    margin-top: 16px;
}

.rnt-mt-3 {
    margin-top: 24px;
}

.rnt-mt-4 {
    margin-top: 32px;
}

.rnt-mb-1 {
    margin-bottom: 8px;
}

.rnt-mb-2 {
    margin-bottom: 16px;
}

.rnt-mb-3 {
    margin-bottom: 24px;
}

.rnt-mb-4 {
    margin-bottom: 32px;
}

/* === ESTILOS LEGADOS (do style.min.css) === */
/* Mantidos para compatibilidade com seções antigas da página */

/* Utilitários */
.mtop30 {
    margin-top: 30px;
}

.hidden {
    display: none !important;
}

.justify {
    text-align: justify;
}

.striked {
    text-decoration: line-through;
}

.text-danger {
    color: #d9534f;
}

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

/* Títulos de Seção */
div.titulo {
    font-size: 22px;
    color: var(--primary-blue);
    background: var(--primary-yellow);
    border-radius: 5px;
    padding: 8px 8px 8px 8px;
    margin: 15px 0;
    width: 100%;
    float: left;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-success:hover {
    background-color: #449d44;
    border-color: #398439;
}

.button {
    background-color: #bdd748;
    border: 0;
    height: 50px;
    cursor: pointer;
    border-radius: 10px;
}

.single_add_to_cart_button {
    font-size: initial;
}

/* Bloco de Preços */
.price-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.4em;
    width: 100%;
    max-width: 450px;
}

.price-block .opt {
    width: 265px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-block input,
.price-block select {
    background-color: #bdd748;
    border: 1px solid #bbb;
    padding: 5px;
    margin: 5px;
    width: 55px;
}

.opt-title {
    font-weight: 600;
}

.opt-price,
.opt-price-old,
.opt-price-soc {
    font-weight: 700;
}

.btn_comprar {
    width: 100%;
    display: block;
    text-align: center;
}

.btn_comprar button.button {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border: 0;
    height: 60px;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    border-radius: var(--radius);
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn_comprar button.button:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
    .btn_comprar button.button {
        width: 100%;
        height: 70px;
        font-size: 24px;
        border-radius: 12px;
    }
}

/* Mapa de Teatro/Assentos */
.teatro {
    width: 1150px !important;
    overflow-x: initial;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: var(--bg-card);
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.teatro .lugares .fileiras {
    width: 100%;
    display: inline-flex;
    margin-bottom: 5px;
    margin-left: 0px;
}

.teatro .lugares .fileiras .assentos {
    float: left;
    background: #0A1D58;
    cursor: pointer;
    border-radius: 100% 100% 0 0;
    font-size: 8px;
    color: #FFF;
    margin-left: 4px;
    display: block;
    padding: 0px;
    width: 20px;
    height: 22px;
    text-align: center;
    padding-top: 8px;
}

.teatro .lugares .fileiras .assentos:hover {
    opacity: 0.8;
}

.teatro .assentos.cadeirante {
    background: #00a6b2 !important;
}

.teatro .assentos.ocupado {
    background: #bcbbb0 !important;
    cursor: none !important;
    pointer-events: none !important;
}

.teatro .assentos.indisponivel {
    background: #bcbbb0 !important;
    cursor: none !important;
    pointer-events: none !important;
}

.teatro .assentos.lugar-vazio {
    background: #FFF !important;
    cursor: none;
    pointer-events: none;
}

.teatro .assentos.selecionado {
    background: #ffd653 !important;
}

.legenda label {
    font-size: 12px;
    color: #ccc;
}

.legenda ul {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

.legenda ul li {
    float: left;
    margin-right: 15px;
}

.legenda ul li .leg-assentos {
    float: left;
    background: #0A1D58;
    cursor: pointer;
    border-radius: 100%;
    font-size: 10px;
    color: #FFF;
    margin-left: 10px;
    margin-top: 2px;
    margin-right: 5px;
    display: block;
    padding: 5px;
    width: 15px;
    height: 15px;
    text-align: center;
    padding-top: 8px;
}

.legenda ul li .leg-assentos.ocupado {
    background: #bcbbb0;
}

.legenda ul li .leg-assentos.selecionado {
    background: #ffd653 !important;
}

.legenda ul li .leg-assentos.cadeirante {
    background: #00a6b2;
}

/* Ofertas Container */
.offer-container {
    position: fixed;
    background: #fff;
    top: -500px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 20;
    transition: .6s;
}

.offer-container.fixed {
    top: 0;
}

.offer {
    float: left;
    width: 100%;
}

.offer-item {
    font-size: 0.7em;
    width: 100%;
}

.offer-item .offer-img a {
    display: block;
    width: 100%;
    height: 5vw;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.offer-item h3 {
    height: 2em;
    font-size: 1em;
    font-weight: 700;
    margin: 5px 0;
    text-transform: uppercase;
}

.offer-item h3 a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offer-item .btn {
    width: 100%;
    padding: 0;
    border-radius: 0;
}

/* Responsividade para Ofertas */
@media screen and (max-width: 1400px) {
    .offer-item .offer-img a {
        height: 8vw;
    }
}

@media screen and (max-width: 996px) {
    .offer-item .offer-img a {
        height: 11vw;
    }
}

@media screen and (max-width: 480px) {
    .offer-item .offer-img a {
        height: 18vw;
    }
}

/* === ALERTS DO BOOTSTRAP === */
/* Alerts ocultos por padrão - serão exibidos via JavaScript quando necessário */
.alert {
    display: none !important;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    position: relative;
}

.alert.show {
    display: block !important;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    color: inherit;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.5;
    cursor: pointer;
}

.alert .close:hover {
    opacity: 1;
}

/* === FORMULÁRIOS === */
.back_white {
    background-color: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-horizontal .form-group {
    margin-bottom: 20px;
}

.form-horizontal .control-label {
    text-align: right;
    padding-top: 7px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control:focus {
    border-color: var(--primary-yellow);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(228, 255, 0, 0.2);
}

select.form-control {
    appearance: auto;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #1e4a6e;
    border-color: #1e4a6e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsividade para Formulários */
@media (max-width: 767px) {
    .form-horizontal .control-label {
        text-align: left;
        margin-bottom: 5px;
    }

    .back_white {
        padding: 15px;
    }
}

/* === FOOTER === */
.rnt-footer {
    background: var(--primary-blue);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.rnt-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rnt-footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.rnt-footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rnt-footer-links a:hover {
    color: var(--primary-yellow);
    text-decoration: none;
}

.rnt-footer-copy {
    opacity: 0.8;
}

.rnt-footer-copy p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .rnt-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .rnt-footer-links {
        justify-content: center;
    }
}

/* ============================================
   CARDS DE EVENTOS/PEÇAS - Layout Unificado
   Usado em: index.php, eventos.php, pecas.php
   ============================================ */

/* Card principal */
.rnt-featured-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--bg-surface) !important; /* Forçado #1e1e1e */
    height: 510px;
    display: flex;
    flex-direction: column;
}

.rnt-featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Imagem do card */
.rnt-featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rnt-featured-card:hover .rnt-featured-image {
    transform: scale(1.05);
}

/* Conteúdo do card */
.rnt-featured-content {
    background-color: var(--bg-card);
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Título do card */
.rnt-featured-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    color: var(--text-primary); /* Ajustado para branco */
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Info do card */
.rnt-featured-info {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* Botão do card */
.rnt-featured-btn {
    background: var(--bg-input);
    color: var(--primary-yellow);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: block;
}

.rnt-featured-btn:hover {
    background: #1e4a6e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Badge de desconto */
.rnt-discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 10;
    font-family: 'Oswald', sans-serif;
}

/* Espaçamento específico para o sistema Filterizr */
.filtr-container .filtr-item {
    margin-bottom: 60px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .rnt-featured-card {
        height: auto !important;
        min-height: 510px;
        margin-bottom: 40px !important;
    }

    .rnt-featured-content {
        height: auto !important;
        min-height: 150px;
        padding-bottom: 30px !important;
    }

    .filtr-container .filtr-item {
        margin-bottom: 80px !important;
        min-height: 510px !important;
    }
}

/* ============================================
   RECURSOS PREMIUM - Painel do Cliente
   Cards de recursos pagos para eventos
   ============================================ */

/* Container principal dos recursos premium */
.premium-panel-main {
    border: 2px solid #337ab7 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.premium-panel-main .panel-heading {
    background-color: #337ab7 !important;
    border-color: #2e6da4 !important;
}

.premium-panel-main .panel-title {
    color: #fff !important;
    font-size: 18px !important;
}

.premium-panel-main .panel-body {
    background-color: #f9f9f9 !important;
    padding: 20px !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    /* Override do min-height: 460px problemático */
}

/* Grupos semânticos de cards */
.premium-group-pacotes,
.premium-group-destaques,
.premium-group-adicionais {
    margin-bottom: 10px;
}

/* Cards individuais de recursos */
.premium-card {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
}

.premium-card .panel {
    margin-bottom: 0;
}

.premium-card .panel-body {
    padding: 12px !important;
    min-height: auto !important;
    /* Override do min-height: 460px */
}

/* Card Combo Premium (Gold) */
.premium-card-combo .panel-heading {
    background-color: #f1c500 !important;
    border-color: #d9a800 !important;
    color: #fff !important;
}

.premium-card-combo .panel-title {
    font-size: 15px !important;
}

.premium-card-combo .label {
    background-color: #fff !important;
    color: #f1c500 !important;
    font-size: 13px !important;
}

.premium-card-combo .btn-ativar {
    background-color: #f1c500 !important;
    border-color: #d9a800 !important;
    font-size: 14px !important;
    padding: 8px !important;
}

.premium-card-combo .fa-check {
    color: #f1c500 !important;
}

/* Card Destaque Home (Green) */
.premium-card-home .panel-heading {
    background-color: #5cb85c !important;
    border-color: #4cae4c !important;
    color: #fff !important;
}

.premium-card-home .panel-title {
    font-size: 15px !important;
}

.premium-card-home .label {
    background-color: #fff !important;
    color: #5cb85c !important;
    font-size: 13px !important;
}

.premium-card-home .btn-ativar {
    background-color: #5cb85c !important;
    border-color: #4cae4c !important;
    font-size: 14px !important;
    padding: 8px !important;
}

/* Card Destaque Topo (Blue) */
.premium-card-topo .panel-heading {
    background-color: #5bc0de !important;
    border-color: #46b8da !important;
    color: #fff !important;
}

.premium-card-topo .panel-title {
    font-size: 15px !important;
}

.premium-card-topo .label {
    background-color: #fff !important;
    color: #5bc0de !important;
    font-size: 13px !important;
}

.premium-card-topo .btn-ativar {
    background-color: #5bc0de !important;
    border-color: #46b8da !important;
    font-size: 14px !important;
    padding: 8px !important;
}

/* Card Link Externo (Gray) */
.premium-card-link .panel-heading {
    background-color: #777777 !important;
    border-color: #777777 !important;
    color: #333 !important;
}

.premium-card-link .panel-title {
    font-size: 15px !important;
}

.premium-card-link .label {
    background-color: #777 !important;
    color: #fff !important;
    font-size: 13px !important;
}

.premium-card-link .btn-ativar {
    background-color: #777 !important;
    border-color: #666 !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 8px !important;
}

/* Tipografia dos cards */
.premium-card p {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.premium-card ul {
    margin-bottom: 10px !important;
}

.premium-card li {
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

/* Status indicators (para editar.php) */
.premium-status-active {
    background-color: #5cb85c !important;
    color: #fff !important;
}

.premium-status-inactive {
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

/* Responsividade */
@media (max-width: 767px) {
    .premium-panel-main .panel-body {
        padding: 15px !important;
    }

    .premium-card .panel-body {
        padding: 10px !important;
    }

    .premium-card p {
        font-size: 13px !important;
    }

    .premium-card li {
        font-size: 12px !important;
    }
}

/* === BOTÃO FLUTUANTE DE TEMA === */
.rnt-theme-floating {
    position: fixed;
    top: 100px; /* Abaixo do menu (aprox 80px) */
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary-yellow);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rnt-theme-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(228, 255, 0, 0.4);
}

/* === ESTILOS DE PEDIDO (CHECKOUT) === */
.rnt-page-wrapper {
    padding: 40px 0;
    background-color: var(--bg-body);
    min-height: calc(100vh - 300px);
}

.rnt-order-card, 
.rnt-summary-card,
.rnt-form-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.rnt-order-header,
.rnt-summary-header {
    background: rgba(0,0,0,0.2);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.rnt-order-header h3,
.rnt-summary-header h3,
.rnt-coupon-section h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-yellow) !important;
    font-family: 'Oswald', sans-serif;
}

.rnt-order-body,
.rnt-summary-body {
    padding: 20px;
    color: var(--text-primary);
}

.rnt-order-body strong,
.rnt-summary-body strong {
    color: var(--text-primary);
}

/* Botão de Compra */
.rnt-btn-buy {
    background-color: var(--primary-yellow) !important;
    color: var(--primary-blue) !important;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 18px;
    width: 100%;
    transition: var(--transition);
    text-transform: uppercase;
}

.rnt-btn-buy:hover {
    background-color: #fff;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Títulos de Seção */
.rnt-form-title {
    color: var(--text-primary) !important; /* Branco no Dark Mode */
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
}

.rnt-section-subtitle {
    color: var(--primary-yellow) !important;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Ajustes de Texto */
.desc-checkout {
    color: var(--text-secondary);
}

.total-checkout {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .rnt-page-wrapper {
        padding: 20px 0;
    }
    
    .rnt-order-card, 
    .rnt-summary-card {
        margin-bottom: 15px;
    }
    
    .rnt-order-body,
    .rnt-summary-body {
        padding: 15px;
    }
}

/* === REFINAMENTO UX MOBILE (DRAWER MENU) === */

/* 1. Ocultar Sidebar Antiga no Mobile */
@media (max-width: 768px) {
    #sidebar {
        display: none !important;
    }
    /* Ajuste para o conteúdo principal ocupar toda a largura */
    #main-content {
        margin-left: 0 !important;
    }
}

/* 2. Novo Estilo Menu Mobile (Drawer) */
.rnt-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface); /* Usar variável do tema */
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.rnt-mobile-menu.active {
    transform: translateX(0);
}

/* Overlay com Blur */
.rnt-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rnt-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cabeçalho do Usuário no Menu */
.rnt-mobile-user-header {
    background: var(--bg-header);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.rnt-mobile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.rnt-mobile-user-info {
    display: flex;
    flex-direction: column;
}

.rnt-mobile-user-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.rnt-mobile-user-email {
    color: var(--primary-yellow);
    font-size: 13px;
    text-decoration: none;
    margin-top: 2px;
}

/* Títulos de Seção no Menu */
.rnt-mobile-section-title {
    padding: 20px 25px 10px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Links e Listas */
.rnt-mobile-menu a {
    padding: 15px 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.rnt-mobile-menu a:active {
    background: rgba(255,255,255,0.05);
}

.rnt-mobile-menu i {
    width: 20px;
    text-align: center;
    color: var(--primary-yellow);
}

.rnt-mobile-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

/* Botões Mobile (Não Logado) */
.rnt-mobile-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rnt-btn-mobile-primary {
    background: var(--primary-yellow);
    color: var(--primary-blue) !important;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
}

.rnt-btn-mobile-secondary {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
}

/* === CORREÇÃO PEDIDOS (PAINEL) === */
.filter-btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #777777 !important;
    margin-right: 5px;
}

.filter-btn:hover, .filter-btn.active, .filter-btn:focus {
    background-color: var(--primary-yellow) !important;
    color: var(--primary-blue) !important;
    border-color: var(--primary-yellow) !important;
}

.event-card {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Ajuste para texto dentro dos cards para garantir contraste */
.event-card h5 {
    color: var(--text-primary) !important;
}

.event-card p {
    color: var(--text-secondary) !important;
}
/* === CORREÇÃO PROFILE (PAINEL) === */
.white-bg {
    background-color: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.panel {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

.panel-heading {
    background-color: rgba(0,0,0,0.2) !important;
    color: var(--primary-yellow) !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-color: var(--border-color) !important;
}

.panel-body {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Tabs do Profile */
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: var(--primary-yellow) !important;
    color: var(--primary-blue) !important;
}

.nav-pills > li > a {
    color: var(--text-secondary) !important;
}

.nav-pills > li > a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: var(--text-primary) !important;
}

/* Inputs do Profile */
.form-control {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.form-control:focus {
    border-color: var(--primary-yellow) !important;
    box-shadow: none !important;
}


/* Ajuste Content Header */
/* Ajuste Content Header Padronizado */
.content-header {
    background: linear-gradient(135deg, var(--bg-header) 0%, #286090 100%) !important;
    color: #ffffff !important;
    padding: 30px !important;
    border-radius: 8px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    border: none !important;
}

.content-header .content-header-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 32px !important;
    margin: 0 0 10px 0 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: none !important;
}

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
}

.breadcrumb > li > a {
    color: rgba(255,255,255,0.8) !important;
}

.breadcrumb > .active {
    color: #e4ff00 !important;
}


/* Correção Reforçada Panel Heading */
.panel-heading {
    background: var(--bg-card) !important;
    color: var(--primary-yellow) !important;
    border-bottom: 1px solid var(--border-color) !important;
}


/* === RECURSOS PREMIUM E PARCERIA (EVENTOS) === */
.premium-panel-main {
    border: 1px solid var(--border-color) !important;
}

.premium-panel-main > .panel-heading {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

.premium-panel-main > .panel-body {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Cards Internos de Recursos */
.premium-card .panel {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
}

.premium-card .panel-heading {
    border-bottom: 1px solid rgba(0,0,0,0.2) !important;
}

.premium-card .panel-body {
    background: transparent !important;
    color: var(--text-primary) !important;
}

.premium-card ul li {
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.premium-card ul li:last-child {
    border-bottom: none;
}

.premium-card i {
    margin-right: 5px;
}

/* Seção Parceria Gratuita - Destaque Claro */
.panel-body[style*='background-color: #fcfcfc'] {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid var(--primary-yellow) !important;
}

/* Título do Painel com Degrade Verde -> Azul */
.panel-heading[style*='background: linear-gradient'] {
    background: linear-gradient(135deg, #25d366 0%, #012444 100%) !important;
    color: #ffffff !important;
}

/* Box interna da parceria (lista de benefícios) */
.panel-body .col-md-8 > div[style*='background: #fff'] {
    background: #f9f9f9 !important;
    border-color: #e0e0e0 !important;
}

.panel-body .col-md-8 ul li {
    color: #555555 !important;
}

.panel-body .col-md-8 ul li strong {
    color: #333333 !important;
}

/* Box lateral da parceria (Termo) */
.panel-body .col-md-4 > div[style*='background: #f0fff4'] {
    background: #f0fff4 !important;
    border-color: #25d366 !important;
}

.panel-body .col-md-4 p {
    color: #666666 !important;
}

.panel-body .checkbox label {
    /*color: #333333 !important;*/

}

/* Título interno verde */
.panel-body h4[style*='color: #128c7e'] {
    color: #128c7e !important;
}

/* Ajuste de Modals Premium */
.modal-content {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

.modal-header {
    border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer {
    border-top: 1px solid var(--border-color) !important;
}

.modal-body .alert {
    background-color: var(--bg-input) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}


/* Modal Termo de Parceria - Dark Mode */
#modalTermoParceria .modal-body > div[style*='background: #f9f9f9'] {
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

#modalTermoParceria .modal-body h4,
#modalTermoParceria .modal-body h5 {
    color: var(--primary-yellow) !important;
}

#modalTermoParceria .modal-body p {
    color: var(--text-secondary) !important;
}

#modalTermoParceria .modal-body hr {
    border-top-color: var(--border-color) !important;
}


/* === HEADER FIXO E RETRÁTIL (PAINEL) === */
.rnt-header.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002; /* Acima do sidebar */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Compensação para o conteúdo não ficar escondido atrás do header */
body.header-fixed {
    padding-top: 80px; /* Altura inicial do header */
}

/* Estado 'Scrolled' - Header Encolhido */
.rnt-header.scrolled {
    height: 60px !important; /* Altura reduzida */
    background: rgba(1, 36, 68, 0.95) !important; /* Leve transparência */
    backdrop-filter: blur(5px);
}

.rnt-header.scrolled .rnt-container {
    height: 60px !important;
}

/* Ajuste do Logo no estado Scrolled */
.rnt-header.scrolled .rnt-logos-grupo img {
    height: 35px !important; /* Logo menor */
}

.rnt-header.scrolled .rnt-logo-texto {
    font-size: 35px !important; /* Texto menor */
}

/* Ajuste dos Links no estado Scrolled */
.rnt-header.scrolled .rnt-nav a {
    font-size: 14px !important;
}

/* Ajuste do Sidebar para ficar abaixo do Header Fixo */
#sidebar {
    z-index: 1001; /* Abaixo do header */
    top: 80px !important; /* Começa abaixo do header normal */
    height: calc(100% - 80px) !important;
    position: fixed !important;
    transition: top 0.3s ease, height 0.3s ease;
}

/* Quando o header encolhe, o sidebar sobe junto */
body.header-scrolled #sidebar {
    top: 60px !important;
    height: calc(100% - 60px) !important;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    body.header-fixed {
        padding-top: 80px;
    }
    .rnt-header.scrolled {
        height: 60px !important;
    }
    /* Sidebar mobile é controlado por outro script, mas garantimos o z-index */
    .rnt-mobile-menu {
        z-index: 1003;
    }
}

/* === CORREÇÃO RODAPÉ (FULL WIDTH) === */
.rnt-footer .rnt-container {
    background: transparent !important;
}

/* === CORREÇÃO CADASTRO (FULL WIDTH GRADIENT) === */
.rnt-signup-section .rnt-container {
    background: transparent !important;
}


/* === GRID DE PEÇAS (Migrado de index.php) === */
.rnt-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 370px));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

/* ============================================
   DEFINIÇÕES DUPLICADAS REMOVIDAS - 16/01/2026
   Estas definições estavam sobrescrevendo as corretas
   das linhas 1818-1932, causando corte dos cards em eventos.php
   A definição principal usa height: 510px e não tem max-width restritivo
   ============================================ */
/*
.rnt-featured-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 400px;
    width: 100%;
    max-width: 370px;
    background: var(--bg-card);
}

.rnt-featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.rnt-featured-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rnt-featured-card:hover .rnt-featured-image {
    transform: scale(1.05);
}

.rnt-featured-content {
    padding: 20px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rnt-featured-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.rnt-featured-info {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.rnt-featured-btn {
    background: var(--bg-input);
    color: var(--primary-yellow);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: block;
}

.rnt-featured-btn:hover {
    background: #1e4a6e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}
*/

/* === COMPONENTE DE BUSCA CENTRALIZADO (Eventos/Teatros) === */
.rnt-search-section {
    background: transparent;
    padding: 20px 0 40px;
}

.rnt-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.rnt-search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    font-size: 1.1rem;
    border: 2px solid var(--dark-border);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--dark-card);
    color: var(--text-primary);
}

.rnt-search-input::placeholder {
    color: var(--text-secondary);
}

.rnt-search-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px var(--neon-glow);
}

.rnt-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}

.rnt-search-result {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 15px;
}

@media (max-width: 480px) {
    .rnt-search-input {
        padding: 15px 20px 15px 50px;
        font-size: 1rem;
    }
}
