/* cabeçalho */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fffafa;
}

/* cabeçalho simplificado */

.simple-header {
    background-color: #ffe0e6;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.header-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-logo {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 20px;
    margin-right: 5px;
    color: #555;
}

.header-nav {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #333;
}

.customer-support .nav-icon {
    margin-right: 5px;
}

    /* agradecimentos */

/* --- 1. CONFIGURAÇÃO GERAL E FLUXO --- */
.body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Ocupa toda a altura da tela */
    min-height: 100vh; 
    overflow-x: hidden;
    background-color: #fffafa;
    font-family: Arial, sans-serif;
}

/* CHAVE 2: O contêiner principal ocupa o espaço restante após o cabeçalho */
.main-content-wrapper {
    
    /* CHAVE 3: Centraliza o conteúdo (Thank You box) dentro do espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente o bloco de agradecimento */
    align-items: center; /* Centraliza horizontalmente o bloco de agradecimento */
    margin-top: 50px;
    
    width: 100%;
    box-sizing: border-box;
    padding: 20px; /* Garante algum espaçamento nas bordas */
}

/* --- ESTILOS DO CONTEÚDO (Thank You Box) --- */

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.subtitle {
    font-size: 16px;
    color: #777;
    margin: 0;
}

.confirmation-box {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 550px;
    width: 100%;
    text-align: left; 
    box-sizing: border-box;
    /* Adiciona margem vertical para não colar nas bordas se o conteúdo for muito alto/baixo */
    margin: 20px 0; 
}

.receipt-content {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

/* Ícone de Checkmark */
.check-icon-placeholder {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: invert(0.2);
}

.check-icon-placeholder svg {
    width: 30px;
    height: 30px;
}

.text-details p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
}

.print-link {
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}

.go-back-btn {
    display: block;
    width: 180px; 
    margin: 0 auto; 
    padding: 10px 20px;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

        /* rodapé */
    
/* --- estilização do rodapé --- */

.footer {
    background-color: #fffafa; 
    padding: 30px 20px; 
    border-top: 1px solid #999; 
    font-family: Arial, sans-serif;
}

/* estilização do conteúdo */

.footer .content {
    max-width: 960px; 
    margin: 0 auto;
}

.footer .has-text-centered {
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* estilização dos links */

.footer a {
    color: #b72730;
    text-decoration: none; 
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #b72730;
    text-decoration: underline;
}

/* estilização do destaque */

.footer strong {
    color: #333333;
    font-weight: bold;
}