/* ==================== CONTAINER DO MODAL ==================== */
.schedule-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fundo escuro atrás do modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1999;
    cursor: pointer;
}

/* Conteúdo da modal - IMPORTANTE: position relative para z-index funcionar */
.modal-content {
    background: linear-gradient(135deg, #0F172A 0%, #1a0f3f 100%);
    border: 3px solid var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2000;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6),
        inset 0 0 40px rgba(139, 92, 246, 0.1);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

/* Botão de fechar */
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    font-weight: bold;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    transform: rotate(90deg);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Previne propagação de cliques */
.modal-content,
.modal-close {
    pointer-events: auto;
}

/* ==================== STEP STYLING ==================== */
.schedule-step {
    animation: slideUp 0.5s ease-out;
    width: 100%;
}

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

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

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--white);
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.step-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.schedule-form {
    margin-bottom: 1rem;
    width: 100%;
}

/* ==================== CALENDAR STYLING ==================== */
.calendar-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    width: 100%;
}

.form-section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--primary-light);
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Cabeçalho do calendário */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    width: 100%;
}

.calendar-nav-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.calendar-nav-btn:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

.calendar-nav-btn:active {
    transform: scale(0.95);
}

.calendar-month {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
}

/* Dias da semana (SEG, TER, QUA...) */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    width: 100%;
}

.weekday {
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.65rem;
    color: var(--primary-light);
    padding: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.weekday.disabled {
    opacity: 0.3;
    color: var(--disabled);
    text-decoration: line-through;
}

/* Dias do calendário */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--disabled);
    background: rgba(75, 85, 99, 0.2);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: not-allowed;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    padding: 0;
}

/* Dia disponível (pode clicar) */
.calendar-day.available {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.15);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.calendar-day.available:hover {
    background: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
    border-color: var(--primary-light);
}

/* Dia selecionado */
.calendar-day.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    color: var(--white);
    animation: pulse 0.4s ease;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Dia desabilitado (passado ou fim de semana) */
.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: var(--disabled);
}

/* ==================== TIMES STYLING ==================== */
.times-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    width: 100%;
    animation: slideDown 0.4s ease-out;
}

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

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

.times-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
    font-style: italic;
}

/* Grid de horários */
.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.8rem;
    width: 100%;
}

.time-slot {
    padding: 0.8rem 0.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 3px solid var(--primary);
    border-radius: 6px;
    color: var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.05em;
}

.time-slot:hover:not(.booked) {
    background: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
    border-color: var(--primary-light);
}

/* Horário selecionado */
.time-slot.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--white);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
    animation: pulse 0.4s ease;
}

/* Horário ocupado (não pode clicar) */
.time-slot.booked {
    background: rgba(75, 85, 99, 0.3);
    border-color: var(--disabled);
    color: var(--disabled);
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: line-through;
}

.time-slot.booked:hover {
    transform: none;
    box-shadow: none;
}

/* ==================== FORM STYLING ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Inputs e Textareas */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(31, 41, 55, 0.5);
    border: 3px solid var(--primary);
    border-radius: 6px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.1);
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
        inset 0 0 10px rgba(139, 92, 246, 0.1);
    background: rgba(31, 41, 55, 0.8);
}

/* Input válido (verde) */
.form-input.valid,
.form-textarea.valid {
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4),
        inset 0 0 10px rgba(16, 185, 129, 0.08);
}

/* Input inválido (vermelho) */
.form-input.invalid,
.form-textarea.invalid {
    border-color: var(--error);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4),
        inset 0 0 10px rgba(239, 68, 68, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Validação em tempo real */
.form-validation {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    min-height: 20px;
}

.form-validation.success {
    color: var(--success);
    font-weight: 600;
}

.form-validation.success::before {
    content: "✓ ";
}

.form-validation.error {
    color: var(--error);
    font-weight: 600;
}

.form-validation.error::before {
    content: "✕ ";
}

.form-hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
}

/* Textarea - Contador de caracteres */
.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
}

.textarea-counter {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.65rem;
    color: var(--primary-light);
}

/* ==================== FORMULÁRIO - RESUMO ==================== */
.form-summary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.08));
    border: 2px dashed var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideUp 0.5s ease-out;
}

.form-summary h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    font-family: 'Inter', sans-serif;
}

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

.summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.summary-value {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ==================== BOTÕES DE AÇÃO ==================== */
.schedule-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
    width: 100%;
}

.schedule-actions-double {
    justify-content: space-between;
    flex-direction: row;
}

.schedule-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: 3px solid var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    flex: 1;
    max-width: 280px;
}

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

.schedule-btn:hover::before {
    width: 400px;
    height: 400px;
}

.schedule-btn:hover {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.schedule-btn:active {
    transform: translateY(0) scale(0.98);
}

.schedule-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: 0 0 10px rgba(75, 85, 99, 0.3);
}

.schedule-btn:disabled:hover {

    .calendar-nav-btn {
        width: 36px;
        height: 36px;
    }

    .times-grid {
        grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    }

    .time-slot {
        padding: 0.65rem 0.4rem;
        font-size: 0.7rem;
    }

    .schedule-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.62rem;
    }

    .schedule-actions-double {
        gap: 1rem;
    }

    .schedule-actions-double .schedule-btn {
        width: auto;
        flex: 1;
    }

    .confirmation-title {
        font-size: 1.3rem;
    }

    .form-input,
    .form-textarea {
        font-size: 0.98rem;
    }
}

@media (min-width: 769px) {
    .modal-content {
        padding: 2.5rem;
        width: 80%;
        max-width: 600px;
    }

    .schedule-actions-double {
        flex-direction: row;
    }

    .schedule-actions-double .schedule-btn {
        width: auto;
        flex: none;
    }
}

/* ==================== ANIMAÇÕES EYFRAMES ==================== */

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

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

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

/* ==================== PIX SECTION ==================== */
.pix-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.1));
    border: 2px solid var(--primary);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    animation: slideUp 0.6s ease-out;
}

.pix-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--primary-light);
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.pix-instruction {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.pix-instruction strong {
    color: var(--primary-light);
    font-weight: 700;
}

/* QR Code */
.qr-code-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qr-code-svg {
    width: 220px;
    height: 220px;
    border: 4px solid var(--primary);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Chave PIX */
.pix-key-container {
    margin: 1.5rem 0;
    text-align: center;
}

.pix-key-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.pix-key-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(31, 41, 55, 0.5);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1rem;
    animation: slideUp 0.6s ease-out 0.1s backwards;
}

.pix-key {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-light);
    word-break: break-all;
    flex-grow: 1;
    text-align: left;
    letter-spacing: 0.02em;
}

.copy-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.copy-btn:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

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

.copy-btn.copied {
    background: linear-gradient(135deg, var(--success), #6ee7b7);
    border-color: var(--success);
}

/* Info PIX */
.pix-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
    border-radius: 6px;
}

.pix-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==================== WHATSAPP SECTION ==================== */
.whatsapp-section {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.08));
    border: 2px solid #34d399;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.whatsapp-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: #34d399;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.whatsapp-instruction {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    color: #0f172a;
    border: 3px solid var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: slideUp 0.6s ease-out 0.3s backwards;
}

.whatsapp-btn:hover {
    box-shadow: 0 0 50px rgba(52, 211, 153, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
}

.whatsapp-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ==================== SUCCESS STATE ==================== */
.success-icon {
    font-size: 5rem;
    animation: bounce 1.5s ease-in-out;
}

.success-title {
    color: var(--success);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    border: 2px solid var(--success);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    animation: slideUp 0.6s ease-out;
}

.success-message p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.8rem 0;
    line-height: 1.6;
}

.success-message p:first-child {
    margin-top: 0;
}

.success-message p:last-child {
    margin-bottom: 0;
}

/* ==================== CONFIRMATION FOOTER ==================== */
.confirmation-footer {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    text-align: center;
}

.footer-link {
    color: #34d399;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}





/* ==================== MENSAGEM DE SUCESSO ==================== */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-message.show {
    opacity: 1;
}

.success-content {
    background: linear-gradient(135deg, #1a0033 0%, #2d0052 100%);
    border: 2px solid #a855f7;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    animation: slideUp 0.5s ease;
}

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

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

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.success-content h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Press Start 2P', cursive;
}

.success-content p {
    color: #e9d5ff;
    margin-bottom: 10px;
    font-size: 14px;
}

.success-subtitle {
    color: #c084fc;
    font-size: 12px;
    margin-top: 10px;
}




/* ==================== RESPONSIVE - PIX/WHATSAPP ==================== */

@media (max-width: 480px) {
    .pix-section {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }

    .pix-title {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .pix-instruction {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .qr-code-svg {
        width: 180px;
        height: 180px;
    }

    .pix-key-box {
        flex-direction: column;
        gap: 0.6rem;
    }

    .pix-key {
        font-size: 0.75rem;
    }

    .copy-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .pix-info {
        gap: 0.5rem;
        padding: 0.8rem;
        margin-top: 1rem;
    }

    .pix-info p {
        font-size: 0.85rem;
    }

    .whatsapp-section {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }

    .whatsapp-title {
        font-size: 0.8rem;
    }

    .whatsapp-instruction {
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        padding: 1rem 1.5rem;
        font-size: 0.65rem;
    }

    .success-icon {
        font-size: 3.5rem;
    }

    .success-message {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    .success-message p {
        font-size: 0.95rem;
        margin: 0.6rem 0;
    }

    .confirmation-footer {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .pix-section {
        padding: 1.5rem;
    }

    .pix-title {
        font-size: 0.9rem;
    }

    .qr-code-svg {
        width: 200px;
        height: 200px;
    }

    .whatsapp-btn {
        padding: 1.1rem 1.8rem;
        font-size: 0.68rem;
    }

    .success-icon {
        font-size: 4rem;
    }
}

@media (min-width: 769px) {
    .pix-section {
        padding: 2rem;
    }

    .pix-title {
        font-size: 1.05rem;
    }

    .whatsapp-btn {
        max-width: 500px;
    }

    .success-icon {
        font-size: 5rem;
    }
}