/* ==========================================================================
   1. IMPORTAÇÕES E CONFIGURAÇÕES GERAIS
   ========================================================================== */
@import url('./variables.css');
@import url('./typography.css');
@import url('./utilities.css');

hr {
	color: #f4edd1;
	opacity: unset;
	margin: unset;
}

.mb-custom-2 {
	margin-bottom: 2rem;
}

.divider-cor-secundaria {
	color: var(--cor-secundaria) 21;
}

/* ==========================================================================
   2. STEPPER (FLUXO DE ETAPAS)
   ========================================================================== */

/* Stepper Padrão */
.stepper {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 2rem;
}

.stepper .step-card {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stepper .step-circle {
	width: 32px;
	border-radius: 50%;
	background: var(--cor-secundaria);
	color: #e4d7ae;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	border: 2px solid var(--cor-secundaria);
}

.stepper .step-circle.active {
	background: #fff;
	color: var(--cor-secundaria);
	border: 2px solid var(--cor-secundaria);
}

.stepper .step-label-card {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: var(--cor-secundaria);
	text-align: center;
	font-weight: 500;
}

.stepper .step-line {
	width: 60px;
	height: 2px;
	background: var(--cor-secundaria);
	margin-top: 15px;
}

.stepper .step-line.dashed {
	border-top: 2px dashed var(--cor-secundaria);
	background: none;
}

/* Stepper Absoluto/Alternativo */
.stepper-abs {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin: 0 auto 2rem auto;
}

.stepper-circles {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	padding: 0 25px;
}

.step-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1.25rem;
	border: 2px solid var(--cor-secundaria);
	z-index: 1;
	position: relative;
	transition: background 0.2s, color 0.2s;
}

.step-circle.completed, .step-circle.active {
	background: var(--cor-secundaria);
	color: #e4d7ae;
	border: 2px solid var(--cor-secundaria);
}

.step-circle.upcoming {
	background: #e4d7ae;
	color: var(--cor-secundaria);
	border: 2px solid var(--cor-secundaria);
}

.stepper-line {
	flex: 1;
	height: 2px;
	background: var(--cor-secundaria);
	z-index: 0;
	margin: 0 -2px;
}

.stepper-line-dashed {
	border-top: 2px dashed var(--cor-secundaria);
	background: none;
	z-index: 1;
}

.stepper-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 0.5rem;
}

.step-label {
	width: 80px;
	text-align: center;
	font-size: 0.75rem;
	color: var(--cor-secundaria);
	font-weight: 600;
	word-break: break-word;
}

.step-circle.completed .step-label, .step-circle.active .step-label {
	color: #e4d7ae;
}

.purchase-stepper-container {
	margin-bottom: 1.25rem;
}

/* ==========================================================================
   3. BOTÕES E AÇÕES
   ========================================================================== */
.btn-outlined-custom {
	color: #8a2e36;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	border-radius: 24px;
	border: 1px solid #8a2e36;
	padding: 8px 12px;
	text-decoration: none;
}

.btn-orange-50-hover:hover {
	opacity: 0.9;
	transition: all 0.3s ease-in-out;
	color: unset;
	background-color: #ffac33;
}

.btn-default {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	padding: 14px;
	background: var(--cor-secundaria);
	border-radius: 44px;
	border: none;
	color: var(--color-beige-10);
	font-weight: normal;
}

.btn-default:hover {
	background-color: var(--cor-secundaria);
	color: var(--color-beige-10);
	opacity: 0.9;
	transition: all 0.3s ease-in-out;
}

.btn-cancelar {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	padding: 13px;
	background: transparent;
	border-radius: 44px;
	border: 1px solid var(--cor-secundaria);
	color: var(--cor-secundaria);
	text-decoration: none;
}

.btn-cancelar-final {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	gap: 10px;
	padding: 14px;
	background: transparent;
	border: 1px solid var(--cor-secundaria);
	border-radius: 74px;
	text-decoration: none;
}

.btn-text {
	font-family: 'Poppins-Medium';
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5em;
	color: #FFFEF0;
}

.btn-close {
	box-sizing: border-box;
}

.btn-close i {
	font-size: 14px;
}

/* ==========================================================================
   4. CARDS DE PRODUTOS E ATRATIVOS
   ========================================================================== */
.produto-card {
	width: 100%;
	padding: 16px;
	background: #f4edd1;
	border-radius: 12px;
	margin-top: 12px;
}

.produto-info {
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
	display: inline-flex;
}

.produto-info-label {
	word-wrap: break-word;
}

.atrativo-card-body {
	position: relative;
	padding-right: 12px;
}

.titulo-atrativo {
	width: 100%;
}

.atrativo-wrapper {
	display: flex;
	justify-content: space-between;
}

.atrativo-button {
	border-radius: 1rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 5px;
	justify-content: center;
	align-items: center;
}

.info-atrativo {
	max-width: 90%;
}

.img-atrativo {
	width: 160px;
	height: 100%;
	object-fit: cover;
}

.selected {
	border: 2px solid var(--color-orange-50) !important;
}

@media ( max-width : 767px) {
	.img-atrativo {
		width: 100%;
	}
}

#formAtrativo {
	margin-top: 28px;
}

/* ==========================================================================
   5. CONTROLES DE QUANTIDADE
   ========================================================================== */
.input-quantidade {
	width: 100%;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.input-quantidade button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.input-quantidade button i {
	font-size: 20px;
}

.input-quantidade button i::before {
	font-weight: 900 !important;
}

.input-quantidade-carrinho {
	width: 100%;
	display: flex;
	padding: 9.5px;
	text-align: center;
	align-items: center;
	justify-content: space-between;
}

.btn-quantidade {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 1px 10px;
	width: 32px;
	height: 32px;
	background: var(--color-beige-30);
	border-radius: 16px;
	border: none;
}

.btn-quantidade i {
	font-size: 20px;
	font-weight: 600;
	color: var(--cor-secundaria);
}

.input-quantidade input[type="text"] {
	border: none;
	outline: none;
	width: 40px;
	text-align: center;
	background: transparent;
	padding: 0;
	margin: 0;
	-moz-appearance: textfield;
}

.input-quantidade input[type="text"]::-webkit-outer-spin-button,
	.input-quantidade input[type="text"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ==========================================================================
   6. CARRINHO E SEÇÃO DE CUPOM
   ========================================================================== */
.atrativo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: stretch;
	gap: 32px;
	padding: 32px 20px;
	background: var(--color-beige-40);
	border-radius: 32px;
	position: relative;
}

.btn-delete-atrativo {
	position: absolute;
	right: 49px;
	width: 33.37px;
	height: 33.37px;
	padding: 6px;
	background: rgba(138, 46, 54, 0.1);
	border-radius: 40px;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-delete-atrativo i {
	width: 13.09px;
	height: 14.73px;
	color: var(--color-burgundy-50);
}

.ingressos-section {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 6px;
}

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

.cupom-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
	padding: 8px;
	background: var(--color-beige-50);
	border-radius: 64px;
}

#input-cupom {
	border: none;
	background: transparent;
	outline: none;
}

/* ==========================================================================
   7. MENSAGEM DE VALIDAÇÃO
   ========================================================================== */
.alert-success-modern {
    background: var(--cor-secundaria); /* Sua cor base */
    background: linear-gradient(90deg, var(--cor-secundaria) 0%, color-mix(in srgb, var(--cor-secundaria), black 10%) 100%);
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 5px solid #e4d7ae; /* Um detalhe na cor de destaque (beige) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    animation: slideIn 0.3s ease-out;
}
.icon-success {
    font-size: 1.4rem;
    color: #e4d7ae;
    line-height: 1;
}
.success-message {
    color: rgba(255, 254, 240, 0.9); /* Branco off-white suave */
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.alert-warning-modern {
    background: #d39e00; /* Um tom de âmbar sólido */
    background: linear-gradient(90deg, #d39e00 0%, #b08400 100%);
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 5px solid #fff3cd; /* Brilho suave na borda esquerda */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    animation: slideIn 0.3s ease-out;
}
.icon-warning {
    font-size: 1.4rem;
    color: #fff3cd;
    line-height: 1;
}
.warning-message {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

/* Destaque para o e-mail dentro da string dinâmica */
.success-message b, .success-message strong {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* ==========================================================================
   7. IDENTIFICAÇÃO E FORMULÁRIOS
   ========================================================================== */

.total-label {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5em;
	color: var(--cor-secundaria);
}

.total-value {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5em;
	color: var(--cor-secundaria);
}

.valor-total {
	min-width: 6.875rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#etapa-cpf {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#btn-continuar-cpf:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.form-input-label {
	color: var(--cor-secundaria) !important;
}
.form-input {
	padding: 10px 16px;
	color: var(--cor-secundaria);
	background: var(--color-beige-50);
	border-radius: 64px;
	font-size: 14px;
	outline: none;
	width: 100%;
	border: 0;
}
.form-input-select {
	/* Remove o ícone padrão do navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Adiciona o seu ícone customizado */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232F4634' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    
    /* AQUI VOCÊ CONTROLA A POSIÇÃO: 
       O primeiro valor (90%) move para a esquerda ou direita.
       Diminua o 90% para trazer o ícone mais para dentro/esquerda. */
    background-position: right 20px center; 
    background-size: 12px 8px;
    
    cursor: pointer;
}
.form-input-select-sm {
	width: 150px;
	font-size: 12px;
	padding: 11.5px 16px;
}
.form-input:focus {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor-secundaria) 10%, transparent);
	background-color: rgba(244, 237, 209, 0.9);
}
.form-input::placeholder {
	font-size: 12px;
	color: color-mix(in srgb, var(--cor-secundaria) 50%, transparent);
}
.form-input option {
	background: #F4EDD1;
	color: var(--cor-secundaria);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper .form-input {
    padding-right: 45px !important;
}

.show-password {
    position: absolute;
    right: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 10;
    transition: opacity 0.2s;
}
.show-password:hover {
    opacity: 0.7;
}
.show-password i {
    font-size: 1.2rem;
    color: var(--cor-secundaria) !important; 
}

/* Container para alinhar select e input */
.group-telefone {
    display: flex;
    gap: 8px; /* Espaço entre o DDI e o Telefone */
    align-items: center;
    width: 100%;
}

.show-password {
	cursor: pointer;
	transition: color 0.2s ease;
	z-index: 1;
	right: 15px;
}

.links-identificacao {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	margin: 28px 0 24px 0;
}

.acoes-section {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 12px;
}

/* ==========================================================================
   9. MODAIS (GASTRONOMIA)
   ========================================================================== */
.modal-gastronomia-content {
	border: none;
	padding: 20px;
	display: block;
	overflow: hidden;
	position: relative;
	margin-bottom: 32px;
	border-radius: 32px !important;
	box-shadow: 0 8px 32px color-mix(in srgb, var(--cor-secundaria) 18%,
		transparent);
}

.modal-gastronomia-img {
	width: 100%;
	max-height: 240px;
	height: 240px;
	object-fit: cover;
	border-radius: 20px;
	display: block;
	margin-bottom: 32px;
}

.modal-gastronomia-close {
	position: absolute;
	top: 32px;
	right: 32px;
	z-index: 2;
	background: #f4edd1;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: unset;
}

.modal-gastronomia-content .modal-header {
	border-bottom: 1px solid var(--cor-secundaria) 21;
}

/* ==========================================================================
   10. AUTOCOMPLETE (CIDADES)
   ========================================================================== */
#autoCompleteCidade .autocomplete {
    background: #F4EDD1;
    border: 1px solid var(--cor-secundaria);
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    max-width: 450px;
}
#autoCompleteCidade .autocomplete ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#autoCompleteCidade .autocomplete li {
	padding: 8px 12px;
	cursor: pointer;
	font-family: 'Poppins-Regular';
	font-size: 12px;
	color: var(--cor-secundaria);
	border-bottom: 1px solid color-mix(in srgb, var(--cor-secundaria) 10%,
		transparent);
	transition: background-color 0.15s ease;
}
#autoCompleteCidade .autocomplete li:last-child {
	border-bottom: none;
}
#autoCompleteCidade .autocomplete li:hover {
	background: #E8DBC4;
	color: var(--cor-secundaria);
}
#autoCompleteCidade .autocomplete li span {
	font-weight: 500;
}

/* ==========================================================================
   11. ELEMENTOS DE RESERVA E DATAS
   ========================================================================== */
.reserva-label-container {
	margin: 12px 0 12px 0;
}

.reserva-label-container .flatpickr-calendar {
	border-radius: 12px;
}

.bi-x-lg {
	font-size: 1.5rem;
}

.more-info-icon {
	margin-left: 6px;
}

.more-info-icon::before {
	font-weight: 600 !important;
}

/* ==========================================================================
   12. FINALIZAÇÃO E PAGAMENTO
   ========================================================================== */
.agendamento-finalizado-banner {
	background-color: var(--cor-secundaria);
	padding: 8px 30px;
	text-align: center;
	border-radius: 5px;
	position: relative;
	clip-path: polygon(-1% 0, 101% 0, 94% 50%, 101% 100%, -1% 100%, 6% 50%);
	width: auto;
	height: 2.5rem;
}

.agendamento-finalizado-text {
	color: var(--color-beige-40);
	margin: 0;
	padding: 10px 0;
}

.pagbank-icon {
	width: 97.82px;
	height: 27.64px;
	object-fit: contain;
	margin-left: 5px;
}

.msg-pagamento {
	background: var(--color-beige-40);
	color: var(--cor-secundaria) !important;
	padding: 15px;
}

.msg-erro-pagamento {
	background: var(--color-beige-40);
	color: var(--color-burgundy-50);
	padding: 15px;
}

/* ==========================================================================
   13. FOOTER E AUTORIA
   ========================================================================== */
.author {
	font-size: 11px;
	color: #FFF;
	text-decoration: none;
	font-family: "Poppins-Light";
}

.author-sm-bg {
	background-color: rgb(235, 222, 181);
}

.author-sm-bg-text {
	font-size: 11px;
	text-decoration: none;
	color: rgba(33, 37, 41, 0.75);
	font-family: "Poppins-Light";
}

@media ( max-width : 771px) {
	.btn-default {
		font-size: 15px;
	}
}