/* Estilos para o Mockup do Sistema de Fidelidade */
/* Forçar cores específicas para sobrescrever Tailwind */

/* Força cores específicas nos cards de fidelidade */
.fidelidade-card.cartoes,
.fidelidade-card.cartoes * {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: white !important;
}

.fidelidade-card.premios,
.fidelidade-card.premios * {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: white !important;
}

.fidelidade-card.taxa,
.fidelidade-card.taxa * {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white !important;
}

/* Força cores nas barras de progresso */
.progress-fill.promocao1 {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.progress-fill.promocao2 {
    background: linear-gradient(90deg, #ec4899 0%, #db2777 100%) !important;
}

/* Força cores no mini gráfico */
.bar.purple {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.bar.pink {
    background: linear-gradient(180deg, #ec4899 0%, #db2777 100%) !important;
}

.bar.purple:hover {
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%) !important;
}

.bar.pink:hover {
    background: linear-gradient(180deg, #f472b6 0%, #e879f9 100%) !important;
}

/* Override para fidelidade-mockup-container dentro de modal-mockup-wrapper */
.modal-mockup-wrapper .fidelidade-mockup-container {
    max-width: 100% !important;
    perspective: none !important;
    z-index: auto !important;
}

.fidelidade-mockup-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 10;
}

/* Override para modal-mockup-wrapper no contexto fidelidade */
.modal-mockup-wrapper .fidelidade-mockup-container .fidelidade-mockup-wrapper {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

.modal-mockup-wrapper .fidelidade-mockup-container .fidelidade-mockup-wrapper:hover {
    transform: none !important;
}

.fidelidade-mockup-wrapper {
    position: relative;
    transform: rotateX(5deg) rotateY(-10deg);
    transition: transform 0.4s ease;
    animation: floatFidelidade 4s ease-in-out infinite;
}

.fidelidade-mockup-wrapper:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

@keyframes floatFidelidade {
    0%, 100% { transform: rotateX(5deg) rotateY(-10deg) translateY(0px); }
    50% { transform: rotateX(5deg) rotateY(-10deg) translateY(-8px); }
}

.fidelidade-dashboard-mockup {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.fidelidade-dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #6366f1 100%);
    border-radius: 16px 16px 0 0;
}

/* Header do Dashboard */
.fidelidade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.fidelidade-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.fidelidade-icon {
    font-size: 16px;
    margin-right: 8px;
}

.fidelidade-refresh {
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fidelidade-refresh:hover {
    background: #e2e8f0;
    transform: rotate(180deg);
}

/* Grid de Cards */
.fidelidade-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.fidelidade-card {
    border-radius: 12px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fidelidade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.fidelidade-card.cartoes {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.fidelidade-card.premios {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.fidelidade-card.taxa {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    grid-column: span 2;
}

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

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

.card-period {
    font-size: 9px;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
}

.card-title {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.9;
}

.card-value {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.card-value.positive {
    color: #10b981;
}

.card-trend {
    font-size: 8px;
    opacity: 0.8;
}

.card-trend.positive {
    color: rgba(16, 185, 129, 0.9);
}

.card-trend.negative {
    color: rgba(248, 113, 113, 0.9);
}

/* Seção de Promoções */
.fidelidade-promocoes-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

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

.promocoes-title {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
}

.add-promocao-btn {
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-promocao-btn:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

.promocao-item {
    background: white;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.promocao-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.promocao-item:last-child {
    margin-bottom: 0;
}

.promocao-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.promocao-name {
    font-size: 9px;
    font-weight: 600;
    color: #374151;
}

.promocao-values {
    font-size: 8px;
    color: #6b7280;
    font-weight: 500;
}

.promocao-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill.promocao1 {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    animation: shimmerPromocao1 2s ease-in-out infinite;
}

.progress-fill.promocao2 {
    background: linear-gradient(90deg, #ec4899 0%, #db2777 100%);
    animation: shimmerPromocao2 2s ease-in-out infinite;
}

@keyframes shimmerPromocao1 {
    0%, 100% { box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.7); }
}

@keyframes shimmerPromocao2 {
    0%, 100% { box-shadow: 0 0 8px rgba(236, 72, 153, 0.4); }
    50% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.7); }
}

.progress-percent {
    font-size: 8px;
    font-weight: 700;
    color: #374151;
    min-width: 25px;
}

.promocao-status {
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
}

.promocao-status.success {
    background: #dcfce7;
    color: #166534;
    animation: successPulse 2s ease-in-out infinite;
}

.promocao-status.good {
    background: #e0e7ff;
    color: #3730a3;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mini Gráfico */
.fidelidade-chart-mini {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.chart-title {
    font-size: 10px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    text-align: center;
}

.mini-chart {
    text-align: center;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 40px;
    margin-bottom: 4px;
    gap: 2px;
}

.bar {
    border-radius: 2px 2px 0 0;
    flex: 1;
    min-height: 8px;
    animation: growBar 1.5s ease-out;
    transition: all 0.3s ease;
}

.bar.purple {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
}

.bar.pink {
    background: linear-gradient(180deg, #ec4899 0%, #db2777 100%);
}

.bar.purple:hover {
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
    transform: scaleY(1.1);
}

.bar.pink:hover {
    background: linear-gradient(180deg, #f472b6 0%, #e879f9 100%);
    transform: scaleY(1.1);
}

@keyframes growBar {
    0% { height: 0; opacity: 0; }
    100% { opacity: 1; }
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 2px;
}

.chart-labels span {
    font-size: 7px;
    color: #6b7280;
    font-weight: 500;
    flex: 1;
}

/* Elementos Flutuantes Decorativos */
.fidelidade-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatAround 8s linear infinite;
}

.floating-element.purple {
    background: #8b5cf6;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element.pink {
    background: #ec4899;
    top: 70%;
    right: 10%;
    animation-delay: -2s;
}

.floating-element.indigo {
    background: #6366f1;
    bottom: 20%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes floatAround {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-10px) translateX(5px) rotate(90deg); }
    50% { transform: translateY(0px) translateX(10px) rotate(180deg); }
    75% { transform: translateY(10px) translateX(5px) rotate(270deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .fidelidade-mockup-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .fidelidade-mockup-wrapper {
        transform: rotateX(2deg) rotateY(5deg);
    }
    
    .fidelidade-dashboard-mockup {
        padding: 12px;
    }
    
    .fidelidade-cards-grid {
        gap: 6px;
    }
    
    .card-value {
        font-size: 12px;
    }
    
    .chart-bars {
        height: 30px;
    }
}

/* Animação de entrada */
.fidelidade-mockup-container {
    animation: slideInFidelidade 1s ease-out;
}

@keyframes slideInFidelidade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeitos de hover interativos */
.fidelidade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.fidelidade-card:hover::before {
    left: 100%;
}

/* Animações sutis para elementos ativos */
.add-promocao-btn,
.fidelidade-refresh {
    position: relative;
    overflow: hidden;
}

.add-promocao-btn::after,
.fidelidade-refresh::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.add-promocao-btn:active::after,
.fidelidade-refresh:active::after {
    width: 120%;
    height: 120%;
}

/* ========================================= */
/* ESTILOS PARA O MOCKUP DO CLIENTE         */
/* ========================================= */

/* Container do Mockup do Cliente */
.fidelidade-cliente-mockup-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 10;
}

.modal-mockup-wrapper .fidelidade-cliente-mockup-container {
    max-width: 100% !important;
    perspective: none !important;
    z-index: auto !important;
}

.modal-mockup-wrapper .fidelidade-cliente-mockup-container .fidelidade-cliente-mockup-wrapper {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

.fidelidade-cliente-mockup-wrapper {
    position: relative;
    transform: rotateX(5deg) rotateY(10deg);
    transition: transform 0.4s ease;
    animation: floatFidelidadeCliente 4s ease-in-out infinite;
}

.fidelidade-cliente-mockup-wrapper:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

@keyframes floatFidelidadeCliente {
    0%, 100% { transform: rotateX(5deg) rotateY(10deg) translateY(0px); }
    50% { transform: rotateX(5deg) rotateY(10deg) translateY(-8px); }
}

.fidelidade-cliente-dashboard-mockup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 680px;
}

.fidelidade-cliente-dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
    border-radius: 16px 16px 0 0;
}

/* Header do Site */
.cliente-site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo {
    font-size: 14px;
}

.brand-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 12px;
}

.header-nav {
    display: flex;
    gap: 10px;
}

.nav-item {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-weight: 600;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-name {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.user-avatar {
    background: rgba(139, 92, 246, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-avatar:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

/* Header do Cliente */
.cliente-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cliente-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.cliente-icon {
    font-size: 18px;
    margin-right: 8px;
}

.cliente-user {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cliente-user:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Navegação dos Cartões */
.cliente-navegacao {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.indicadores {
    display: flex;
    gap: 4px;
}

.indicador {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.indicador.ativo {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Cartão de Fidelidade do Cliente */
.cliente-cartao-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cliente-cartao {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 140px;
}

.cliente-cartao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.cartao-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.cartao-logo {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.cartao-nome {
    font-size: 14px;
    font-weight: 600;
}

.cartao-pontos {
    text-align: center;
    margin: 20px 0;
}

.pontos-display {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pontos-atual {
    color: #fbbf24;
}

.pontos-separador {
    margin: 0 4px;
    opacity: 0.7;
}

.pontos-total {
    opacity: 0.8;
}

.pontos-label {
    font-size: 8px;
    opacity: 0.8;
    margin: 0;
}

.cartao-progress {
    margin: 8px 0;
}

.progress-bar-cliente {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-fill-cliente {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
    transition: width 0.8s ease;
    animation: shimmerCliente 2s ease-in-out infinite;
}

@keyframes shimmerCliente {
    0%, 100% { box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 0 15px rgba(251, 191, 36, 0.7); }
}

.progress-text {
    font-size: 8px;
    text-align: center;
    opacity: 0.8;
    margin: 0;
}

.cartao-chip {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 14px;
    opacity: 0.6;
}

/* Controles do Cliente */
.cliente-controles {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-flip,
.btn-historico {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-flip:hover,
.btn-historico:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Estatísticas do Cliente */
.cliente-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 16px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 8px;
    opacity: 0.8;
}

/* Footer do Site */
.cliente-site-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 0 0 12px 12px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand {
    font-weight: 700;
    color: #1e293b;
    font-size: 11px;
}

.footer-tagline {
    color: #64748b;
    font-size: 9px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-link {
    color: #64748b;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #8b5cf6;
}

/* Elementos Decorativos do Cliente */
.cliente-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

/* ========================================= */
/* SISTEMA DE NAVEGAÇÃO ENTRE MOCKUPS       */
/* ========================================= */

.mockup-carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

.mockup-stack-container {
    position: relative;
    width: 100%;
    min-height: 750px;
    overflow: visible;
}

.mockup-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s ease;
    z-index: 1;
}

.mockup-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

/* Setas de Navegação */
.mockup-arrow-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.mockup-arrow-button {
    width: 48px;
    height: 48px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748b;
    transition: all 0.3s ease;
}

.mockup-arrow-button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    color: #374151;
}

.mockup-arrow-button:active {
    transform: scale(0.95);
}

.mockup-arrow-button i {
    font-size: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .mockup-stack-container {
        min-height: 650px;
    }
    
    .mockup-arrow-navigation {
        gap: 12px;
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .mockup-arrow-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .fidelidade-cliente-mockup-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .fidelidade-cliente-dashboard-mockup {
        padding: 16px;
        min-height: 580px;
    }
    
    .cliente-site-header {
        padding: 10px 14px;
        font-size: 10px;
    }
    
    .brand-name {
        font-size: 11px;
    }
    
    .nav-item {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .user-avatar {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .cliente-title {
        font-size: 14px;
    }
    
    .pontos-display {
        font-size: 24px;
    }
    
    .cartao-logo {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    .cartao-nome {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 14px;
    }
}

/* Animação de entrada do cliente */
.fidelidade-cliente-mockup-container {
    animation: slideInFidelidadeCliente 1s ease-out 0.2s both;
}

@keyframes slideInFidelidadeCliente {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeito de hover no cartão do cliente */
.cliente-cartao::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cliente-cartao:hover::after {
    left: 100%;
}

/* Overrides específicos para o modal-mockup-wrapper no contexto do cliente */
.modal-mockup-wrapper .fidelidade-cliente-mockup-container {
    margin: 0 !important;
}

.modal-mockup-wrapper .fidelidade-cliente-dashboard-mockup {
    border-radius: 12px !important;
}