/* Extraído de reservations.php — estilos específicos da página. */

/* =========================================================
           PALETA ALQUÍMICA & TIPOGRAFIA
           ========================================================= */
        :root {
            --gold-title: #B87333;
            --copper-main: #9c6650;
            --copper-dark: #4a271d;
            --text-ivory-bright: #F5EFE1;
            --text-ivory-base: #EAE3D2;
            --text-parchment: #CFC5B0;
            --bg-abyss: #050201;
            --font-title: "Cinzel", serif;
            --font-display: "Cinzel Decorative", cursive;
            --font-body: "Cormorant Garamond", serif;
        }









        /* --- BOTÃO LOGO --- */




        .hero-logo-link:hover .hero-logo-btn {
            background-image: url("../../images/logo-exotic-nova.webp");
            transform: scale(1.12) translateY(-5px); filter: drop-shadow(0 15px 20px rgba(255, 140, 0, 0.35));
        }

        /* --- TÍTULOS --- */




        /* --- CAIXAS E MOLDURAS --- */




        .text-body {
            font-family: var(--font-body); font-size: 1.35rem; color: var(--text-ivory-base);
            line-height: 1.7; margin-bottom: 15px; font-weight: 400; text-shadow: 0 3px 6px rgba(0,0,0,1);
        }

        .highlight-gold {
            background: linear-gradient(90deg, #5c300d 0%, #b87333 25%, #ffdf73 50%, #b87333 75%, #5c300d 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent;
            filter: drop-shadow(0 2px 3px rgba(0,0,0,1)); font-weight: 700;
        }

        /* --- FORMULÁRIO GERAL --- */
        .ritual-form {
            display: flex; flex-direction: column; gap: 25px; margin-top: 10px; text-align: left;
        }

        .form-row { display: flex; gap: 20px; flex-wrap: wrap; }
        .form-group { display: flex; flex-direction: column; flex: 1; min-width: 250px; position: relative; }

        .form-label {
            font-family: var(--font-title); font-size: 0.9rem; color: var(--text-parchment);
            letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; font-weight: 700; text-shadow: 0 2px 4px #000;
        }

        .form-helper {
            font-family: var(--font-body); font-size: 1.1rem; color: rgba(207, 197, 176, 0.5);
            font-style: italic; margin-bottom: 10px; text-align: center;
        }

        .form-input, .form-textarea {
            background: rgba(5, 2, 1, 0.8); border: 1px solid var(--copper-dark); border-radius: 2px;
            color: var(--text-ivory-bright); font-family: var(--font-body); font-size: 1.3rem;
            padding: 15px 20px; box-shadow: inset 0 0 10px rgba(0,0,0,1); transition: all 0.3s ease;
            outline: none; width: 100%; box-sizing: border-box;
        }

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

        .form-input:focus, .form-textarea:focus {
            border-color: var(--copper-main); box-shadow: inset 0 0 15px rgba(0,0,0,1), 0 0 15px rgba(184, 115, 51, 0.3); background: rgba(15, 8, 5, 0.9);
        }

        .guest-input-wrapper { display: flex; flex-direction: column; gap: 10px; }
        .guest-input-row { animation: slideIn 0.4s ease; }

        /* --- CABEÇALHOS DO FORMULÁRIO --- */
        .portal-main-heading {
            font-family: var(--font-title); font-size: 1.5rem; color: var(--gold-title); text-align: center;
            display: block; letter-spacing: 5px; margin-bottom: 5px; text-transform: uppercase; text-shadow: 0 2px 5px rgba(0,0,0,0.9);
        }

        .portal-card-subtitle-main {
            font-family: var(--font-title); font-size: 1rem; color: var(--text-ivory-base);
            text-transform: uppercase; letter-spacing: 3px; text-align: center; margin-bottom: 25px; display: block; opacity: 0.9;
        }

        .instruction-text {
            font-family: var(--font-body); font-style: italic; font-size: 1.25rem; text-align: center;
            color: var(--text-parchment); margin-bottom: 30px; line-height: 1.5;
        }

        .instruction-text span { font-size: 1.05rem; color: rgba(207, 197, 176, 0.5); }

        /* --- PORTAIS --- */
        .portais-wrapper { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

        .portal-card {
            background: radial-gradient(circle at center, rgba(22, 13, 8, 0.3) 0%, rgba(8, 4, 2, 0.85) 100%);
            border: 1px solid rgba(184, 115, 51, 0.25); padding: 50px 30px 30px 30px; flex: 1; min-width: 320px;
            display: flex; flex-direction: column; transition: all 0.5s ease; position: relative;
            box-shadow: 0 15px 35px rgba(0,0,0,0.7), inset 0 0 30px rgba(0,0,0,0.9);
        }

        .portal-card::before {
            content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
            border: 1px solid rgba(184, 115, 51, 0.1); pointer-events: none; z-index: 1;
        }

        .portal-card:hover {
            border-color: rgba(184, 115, 51, 0.5); box-shadow: 0 20px 45px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,1);
        }

        input[type="checkbox"].hidden-check { display: none; }

        /* --- SELO CIRCULAR (SELECIONAR TUDO) --- */
        .portal-badge-anchor { position: absolute; top: -38px; left: 50%; transform: translateX(-50%); z-index: 10; }

        .icon-circle {
            width: 76px; height: 76px; border: 1px solid rgba(184, 115, 51, 0.4); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #1a0f0a 0%, #050201 100%);
            box-shadow: 0 8px 16px rgba(0,0,0,0.8), inset 0 0 15px rgba(0,0,0,0.9); cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative; -webkit-tap-highlight-color: transparent; outline: none;
        }

        .icon-circle::after {
            content: ""; position: absolute; width: 84px; height: 84px; border: 1px dashed rgba(184, 115, 51, 0.15);
            border-radius: 50%; top: -5px; left: -5px; pointer-events: none; transition: all 0.4s ease;
        }

        .portal-icon-main {
            width: 32px; height: 32px; color: var(--gold-title); opacity: 0.85; transition: all 0.4s ease;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); z-index: 5;
        }

        .icon-circle:hover { border-color: rgba(184, 115, 51, 0.7); transform: scale(1.05); }
        .icon-circle:hover .portal-icon-main { opacity: 1; color: var(--text-ivory-bright); filter: drop-shadow(0 0 8px rgba(255,223,115,0.4)); }
        .icon-circle:hover::after { border-color: rgba(184, 115, 51, 0.4); animation: rotateSelo 15s linear infinite; }

        /* --- CONTEÚDO DOS PORTAIS --- */
        .portal-card-title {
            font-family: var(--font-title); font-size: 1.4rem; color: var(--text-ivory-bright); text-transform: uppercase;
            letter-spacing: 4px; margin: 10px 0 6px 0; text-align: center; font-weight: 400; text-shadow: 0 2px 4px rgba(0,0,0,0.8); position: relative; z-index: 2;
        }

        .portal-card-subtitle {
            font-family: var(--font-title); font-size: 0.75rem; color: var(--gold-title); text-transform: uppercase;
            letter-spacing: 3px; text-align: center; margin-bottom: 25px; display: block; opacity: 0.9; position: relative; z-index: 2;
        }

        .portal-items-list { display: flex; flex-direction: column; width: 100%; margin-bottom: 30px; position: relative; z-index: 2; }

        .portal-item-row {
            cursor: pointer; display: flex; align-items: center; padding: 14px 10px; border-bottom: 1px dashed rgba(184, 115, 51, 0.15);
            transition: all 0.3s ease; position: relative; -webkit-tap-highlight-color: transparent;
        }

        .portal-item-row:last-child { border-bottom: none; }
        .portal-item-row:hover { background: rgba(184, 115, 51, 0.04); padding-left: 14px; }

        /* --- CHECKBOX CUSTOMIZADO --- */
        .custom-checkbox-box {
            display: block; width: 18px; height: 18px; min-width: 18px; border: 1px solid rgba(184, 115, 51, 0.4);
            background: rgba(5, 2, 1, 0.6); margin-right: 18px; transition: all 0.3s ease; position: relative; box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
        }

        .item-icon-wrapper {
            width: 20px; height: 20px; color: var(--gold-title); opacity: 0.7; margin-right: 15px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
        }

        .item-icon-wrapper svg { width: 100%; height: 100%; }

        .item-text-main {
            font-family: var(--font-body); font-size: 1.4rem; color: var(--text-parchment); transition: all 0.3s ease; line-height: 1.2;
        }

        .item-text-main span { font-size: 0.95rem; color: rgba(207, 197, 176, 0.4); font-style: italic; display: block; margin-top: 2px; }

        /* --- ESTADOS DO CHECKBOX --- */
        input.child-check:checked ~ .custom-checkbox-box { border-color: var(--gold-title); background: rgba(184, 115, 51, 0.12); box-shadow: 0 0 8px rgba(184, 115, 51, 0.4); }
        input.child-check:checked ~ .custom-checkbox-box::before { content: "✦"; position: absolute; color: var(--text-ivory-bright); font-size: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); text-shadow: 0 0 4px var(--gold-title); }
        input.child-check:checked ~ .item-icon-wrapper { opacity: 1; color: var(--text-ivory-bright); filter: drop-shadow(0 0 4px var(--gold-title)); }
        input.child-check:checked ~ .item-text-main { color: var(--text-ivory-bright); text-shadow: 0 0 8px rgba(255,255,255,0.2); }

        /* --- A MAGIA DA ATIVAÇÃO GLOBAL --- */
        input.master-check:checked ~ .portal-badge-anchor .icon-circle { border-color: var(--gold-title); background: radial-gradient(circle, #3d2210 0%, #0a0502 100%); box-shadow: 0 0 20px rgba(184, 115, 51, 0.4), inset 0 0 15px rgba(184, 115, 51, 0.3); }
        input.master-check:checked ~ .portal-badge-anchor .icon-circle::after { border-color: rgba(184, 115, 51, 0.5); }

        /* --- TICKETS E STATUS --- */
        .ticket-wrapper {
            background: url("../../images/medieval-bg.png") center/cover; border: 2px solid var(--copper-dark);
            padding: 40px 30px; margin-top: 30px; position: relative; box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 80px rgba(0,0,0,0.95); text-align: left;
        }

        .ticket-header { font-family: var(--font-title); font-size: 1.2rem; color: var(--gold-title); text-align: center; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 25px; border-bottom: 1px solid rgba(184, 115, 51, 0.3); padding-bottom: 15px; }
        .client-info-box { text-align: center; margin-bottom: 30px; border-bottom: 1px dashed rgba(184, 115, 51, 0.3); padding-bottom: 20px; }
        .client-name { font-family: var(--font-title); font-size: 1.3rem; color: var(--text-ivory-bright); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
        .client-contact { font-family: var(--font-body); font-size: 1.1rem; color: var(--text-parchment); font-style: italic; }
        .order-list { list-style: none; margin-bottom: 25px; }
        .order-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(184, 115, 51, 0.2); padding: 12px 0; font-family: var(--font-body); font-size: 1.3rem; color: var(--text-ivory-bright); }
        .order-qty { color: var(--copper-main); font-weight: bold; margin-right: 10px; }
        .order-price { color: var(--gold-title); font-family: var(--font-title); font-size: 1rem; }
        .ticket-total { display: flex; justify-content: space-between; font-family: var(--font-title); font-size: 1.4rem; color: var(--text-ivory-bright); text-transform: uppercase; margin-top: 20px; padding-top: 15px; border-top: 2px solid var(--copper-dark); }
        .status-container { text-align: center; margin-top: 35px; }
        .status-badge { display: inline-block; padding: 12px 30px; font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.8); }
        .status-pending { background: rgba(92, 48, 13, 0.2); border: 1px solid #ff4d4d; color: #ff9999; text-shadow: 0 0 10px rgba(255, 77, 77, 0.5); animation: pulseWarning 2s infinite; }
        .status-confirmed { background: rgba(184, 115, 51, 0.1); border: 1px solid var(--gold-title); color: var(--gold-title); text-shadow: 0 0 10px rgba(255, 223, 115, 0.5); }

        /* --- BOTÃO DE AÇÃO PRINCIPAL --- */




        /* --- ANIMAÇÕES --- */
        @keyframes rotateSelo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes pulseWarning { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
        @keyframes emergeFromShadows { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
        @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- RESPONSIVIDADE --- */



/* Layout específico da solicitação, sem CSS dentro do PHP. */
.reservation-main-heading { margin-bottom: 10px; font-size: 2rem; }
.reservation-intro-primary { margin-bottom: 8px; text-align: center; }
.reservation-intro-secondary { margin-bottom: 40px; color: var(--text-parchment); font-size: 1.15rem; text-align: center; }
.reservation-group-top { margin-top: 35px; }
.reservation-row-top { margin-top: 25px; }
.reservation-guests-group { flex: 2; }
.reservation-helper-title { margin-bottom: 2px; }
.reservation-helper-note { font-size: .95rem; }
.reservation-guests-list { margin-top: 15px; }
.reservation-date-row { justify-content: center; margin-top: 25px; }
.reservation-date-group { flex: none; width: 100%; max-width: 600px; }
.reservation-date-input { margin-top: 10px; }
.reservation-details-group { align-items: center; margin-top: 45px; padding-top: 35px; border-top: 1px dashed rgba(184,115,51,.2); }
.reservation-detail-block { width: 100%; margin-top: 25px; }
.reservation-detail-block.first { margin-top: 20px; }
.reservation-detail-label { display: block; margin-bottom: 15px; color: var(--text-parchment); font-size: 1.2rem; letter-spacing: 1px; text-align: center; text-transform: none; }
.reservation-submit-wrap { margin-top: 50px; }

/* =========================================================
   RESTAURAÇÃO DO DESENHO ORIGINAL DESTA PÁGINA
   Regras retiradas do antigo CSS interno e mantidas externamente.
   ========================================================= */
/* =========================================================
           PALETA ALQUÍMICA & TIPOGRAFIA
           ========================================================= */
        :root {
            --gold-title: #B87333; 
            --copper-main: #9c6650; 
            --copper-dark: #4a271d;
            --text-ivory-bright: #F5EFE1; 
            --text-ivory-base: #EAE3D2; 
            --text-parchment: #CFC5B0;   
            --bg-abyss: #050201; 
            --font-title: 'Cinzel', serif; 
            --font-display: 'Cinzel Decorative', cursive; 
            --font-body: 'Cormorant Garamond', serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body { 
            background: url('../../images/medieval-bg.png') no-repeat center center fixed; 
            background-size: cover; 
            background-color: var(--bg-abyss); 
            font-family: var(--font-body); 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            min-height: 100vh; 
            overflow-x: hidden; 
        }

        .main-content { 
            flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; 
            padding: 40px 20px; width: 100%; max-width: 1020px; 
        }

        .container { 
            width: 100%; text-align: center; animation: emergeFromShadows 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); 
        }
        
        /* --- BOTÃO LOGO --- */
        .hero-logo-link { 
            display: inline-block; margin-bottom: 15px; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; 
        }

        .hero-logo-btn { 
            width: 110px; height: 110px; background-image: url('../../images/logo-exotic-nova.webp');
            background-size: contain; background-repeat: no-repeat; background-position: center; margin: 0 auto; 
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease; 
        }

        .hero-logo-link:hover .hero-logo-btn { 
            background-image: url('../../images/logo-exotic-nova.webp');
            transform: scale(1.12) translateY(-5px); filter: drop-shadow(0 15px 20px rgba(255, 140, 0, 0.35)); 
        }
        
        /* --- TÍTULOS --- */
        h1 { 
            font-family: var(--font-display); font-size: 3.5rem; margin: 0 0 5px 0; font-weight: 900; 
            text-transform: uppercase; letter-spacing: 3px; 
            background: linear-gradient(90deg, #5c300d 0%, #b87333 25%, #ffdf73 50%, #b87333 75%, #5c300d 100%); 
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; 
            filter: drop-shadow(0 4px 6px rgba(0,0,0,1)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.15)); 
        }

        .page-subtitle { 
            font-family: var(--font-title); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 6px; 
            margin-bottom: 45px; display: inline-block; padding-bottom: 10px; border-bottom: 1px solid rgba(184, 115, 51, 0.3); 
            color: var(--text-ivory-base); text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
        }
        
        /* --- CAIXAS E MOLDURAS --- */
        .royal-box { 
            background-color: #050201; background-image: linear-gradient(145deg, #0f0805 0%, #050201 100%); 
            background-size: auto; background-clip: padding-box; background-position: center; background-repeat: repeat; 
            border: 50px solid transparent; border-image-source: url('../../images/moldura-casa.webp'); 
            border-image-width: 125px; border-image-slice: 250; border-image-repeat: round; padding: 83px 83px 83px 83px; 
            margin: 0 auto; max-width: 980px; box-shadow: inset 0 0 60px rgba(0,0,0,1); 
            filter: drop-shadow(0 25px 50px rgba(0,0,0,0.95)); position: relative; 
        }

        .text-backdrop { 
            background: radial-gradient(circle at center, rgba(12, 6, 3, 0.4) 0%, rgba(5, 2, 1, 0.98) 100%); 
            padding: 45px 35px; border-radius: 8px; border: 1px solid rgba(156, 102, 80, 0.08); 
            box-shadow: 0 20px 40px rgba(0,0,0,1), inset 0 0 50px rgba(0,0,0,0.8); position: relative; 
        }
        
        .text-body { 
            font-family: var(--font-body); font-size: 1.35rem; color: var(--text-ivory-base); 
            line-height: 1.7; margin-bottom: 15px; font-weight: 400; text-shadow: 0 3px 6px rgba(0,0,0,1); 
        }

        .highlight-gold { 
            background: linear-gradient(90deg, #5c300d 0%, #b87333 25%, #ffdf73 50%, #b87333 75%, #5c300d 100%); 
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; 
            filter: drop-shadow(0 2px 3px rgba(0,0,0,1)); font-weight: 700; 
        }
        
        /* --- FORMULÁRIO GERAL --- */
        .ritual-form { 
            display: flex; flex-direction: column; gap: 25px; margin-top: 10px; text-align: left; 
        }

        .form-row { display: flex; gap: 20px; flex-wrap: wrap; }
        .form-group { display: flex; flex-direction: column; flex: 1; min-width: 250px; position: relative; }

        .form-label { 
            font-family: var(--font-title); font-size: 0.9rem; color: var(--text-parchment); 
            letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; font-weight: 700; text-shadow: 0 2px 4px #000; 
        }

        .form-helper { 
            font-family: var(--font-body); font-size: 1.1rem; color: rgba(207, 197, 176, 0.5); 
            font-style: italic; margin-bottom: 10px; text-align: center; 
        }
        
        .form-input, .form-textarea { 
            background: rgba(5, 2, 1, 0.8); border: 1px solid var(--copper-dark); border-radius: 2px; 
            color: var(--text-ivory-bright); font-family: var(--font-body); font-size: 1.3rem; 
            padding: 15px 20px; box-shadow: inset 0 0 10px rgba(0,0,0,1); transition: all 0.3s ease; 
            outline: none; width: 100%; box-sizing: border-box; 
        }

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

        .form-input:focus, .form-textarea:focus { 
            border-color: var(--copper-main); box-shadow: inset 0 0 15px rgba(0,0,0,1), 0 0 15px rgba(184, 115, 51, 0.3); background: rgba(15, 8, 5, 0.9); 
        }

        .guest-input-wrapper { display: flex; flex-direction: column; gap: 10px; }
        .guest-input-row { animation: slideIn 0.4s ease; }

        /* --- CABEÇALHOS DO FORMULÁRIO --- */
        .portal-main-heading { 
            font-family: var(--font-title); font-size: 1.5rem; color: var(--gold-title); text-align: center; 
            display: block; letter-spacing: 5px; margin-bottom: 5px; text-transform: uppercase; text-shadow: 0 2px 5px rgba(0,0,0,0.9); 
        }

        .portal-card-subtitle-main { 
            font-family: var(--font-title); font-size: 1rem; color: var(--text-ivory-base); 
            text-transform: uppercase; letter-spacing: 3px; text-align: center; margin-bottom: 25px; display: block; opacity: 0.9; 
        }

        .instruction-text { 
            font-family: var(--font-body); font-style: italic; font-size: 1.25rem; text-align: center; 
            color: var(--text-parchment); margin-bottom: 30px; line-height: 1.5; 
        }

        .instruction-text span { font-size: 1.05rem; color: rgba(207, 197, 176, 0.5); }

        /* --- PORTAIS --- */
        .portais-wrapper { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
        
        .portal-card { 
            background: radial-gradient(circle at center, rgba(22, 13, 8, 0.3) 0%, rgba(8, 4, 2, 0.85) 100%); 
            border: 1px solid rgba(184, 115, 51, 0.25); padding: 50px 30px 30px 30px; flex: 1; min-width: 320px; 
            display: flex; flex-direction: column; transition: all 0.5s ease; position: relative; 
            box-shadow: 0 15px 35px rgba(0,0,0,0.7), inset 0 0 30px rgba(0,0,0,0.9); 
        }
        
        .portal-card::before {
            content: ''; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
            border: 1px solid rgba(184, 115, 51, 0.1); pointer-events: none; z-index: 1;
        }
        
        .portal-card:hover { 
            border-color: rgba(184, 115, 51, 0.5); box-shadow: 0 20px 45px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,1); 
        }
        
        input[type="checkbox"].hidden-check { display: none; }

        /* --- SELO CIRCULAR (SELECIONAR TUDO) --- */
        .portal-badge-anchor { position: absolute; top: -38px; left: 50%; transform: translateX(-50%); z-index: 10; }
        
        .icon-circle { 
            width: 76px; height: 76px; border: 1px solid rgba(184, 115, 51, 0.4); border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #1a0f0a 0%, #050201 100%); 
            box-shadow: 0 8px 16px rgba(0,0,0,0.8), inset 0 0 15px rgba(0,0,0,0.9); cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            position: relative; -webkit-tap-highlight-color: transparent; outline: none;
        }
        
        .icon-circle::after { 
            content: ''; position: absolute; width: 84px; height: 84px; border: 1px dashed rgba(184, 115, 51, 0.15); 
            border-radius: 50%; top: -5px; left: -5px; pointer-events: none; transition: all 0.4s ease; 
        }
        
        .portal-icon-main { 
            width: 32px; height: 32px; color: var(--gold-title); opacity: 0.85; transition: all 0.4s ease; 
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); z-index: 5; 
        }
        
        .icon-circle:hover { border-color: rgba(184, 115, 51, 0.7); transform: scale(1.05); }
        .icon-circle:hover .portal-icon-main { opacity: 1; color: var(--text-ivory-bright); filter: drop-shadow(0 0 8px rgba(255,223,115,0.4)); }
        .icon-circle:hover::after { border-color: rgba(184, 115, 51, 0.4); animation: rotateSelo 15s linear infinite; }

        /* --- CONTEÚDO DOS PORTAIS --- */
        .portal-card-title { 
            font-family: var(--font-title); font-size: 1.4rem; color: var(--text-ivory-bright); text-transform: uppercase; 
            letter-spacing: 4px; margin: 10px 0 6px 0; text-align: center; font-weight: 400; text-shadow: 0 2px 4px rgba(0,0,0,0.8); position: relative; z-index: 2; 
        }

        .portal-card-subtitle { 
            font-family: var(--font-title); font-size: 0.75rem; color: var(--gold-title); text-transform: uppercase; 
            letter-spacing: 3px; text-align: center; margin-bottom: 25px; display: block; opacity: 0.9; position: relative; z-index: 2; 
        }

        .portal-items-list { display: flex; flex-direction: column; width: 100%; margin-bottom: 30px; position: relative; z-index: 2; }

        .portal-item-row { 
            cursor: pointer; display: flex; align-items: center; padding: 14px 10px; border-bottom: 1px dashed rgba(184, 115, 51, 0.15); 
            transition: all 0.3s ease; position: relative; -webkit-tap-highlight-color: transparent; 
        }

        .portal-item-row:last-child { border-bottom: none; }
        .portal-item-row:hover { background: rgba(184, 115, 51, 0.04); padding-left: 14px; }
        
        /* --- CHECKBOX CUSTOMIZADO --- */
        .custom-checkbox-box { 
            display: block; width: 18px; height: 18px; min-width: 18px; border: 1px solid rgba(184, 115, 51, 0.4); 
            background: rgba(5, 2, 1, 0.6); margin-right: 18px; transition: all 0.3s ease; position: relative; box-shadow: inset 0 0 5px rgba(0,0,0,0.8); 
        }
        
        .item-icon-wrapper { 
            width: 20px; height: 20px; color: var(--gold-title); opacity: 0.7; margin-right: 15px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; 
        }

        .item-icon-wrapper svg { width: 100%; height: 100%; }

        .item-text-main { 
            font-family: var(--font-body); font-size: 1.4rem; color: var(--text-parchment); transition: all 0.3s ease; line-height: 1.2; 
        }

        .item-text-main span { font-size: 0.95rem; color: rgba(207, 197, 176, 0.4); font-style: italic; display: block; margin-top: 2px; }

        /* --- ESTADOS DO CHECKBOX --- */
        input.child-check:checked ~ .custom-checkbox-box { border-color: var(--gold-title); background: rgba(184, 115, 51, 0.12); box-shadow: 0 0 8px rgba(184, 115, 51, 0.4); }
        input.child-check:checked ~ .custom-checkbox-box::before { content: '✦'; position: absolute; color: var(--text-ivory-bright); font-size: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); text-shadow: 0 0 4px var(--gold-title); }
        input.child-check:checked ~ .item-icon-wrapper { opacity: 1; color: var(--text-ivory-bright); filter: drop-shadow(0 0 4px var(--gold-title)); }
        input.child-check:checked ~ .item-text-main { color: var(--text-ivory-bright); text-shadow: 0 0 8px rgba(255,255,255,0.2); }

        /* --- A MAGIA DA ATIVAÇÃO GLOBAL --- */
        input.master-check:checked ~ .portal-badge-anchor .icon-circle { border-color: var(--gold-title); background: radial-gradient(circle, #3d2210 0%, #0a0502 100%); box-shadow: 0 0 20px rgba(184, 115, 51, 0.4), inset 0 0 15px rgba(184, 115, 51, 0.3); }
        input.master-check:checked ~ .portal-badge-anchor .icon-circle::after { border-color: rgba(184, 115, 51, 0.5); }

        /* --- TICKETS E STATUS --- */
        .ticket-wrapper { 
            background: url('../../images/medieval-bg.png') center/cover; border: 2px solid var(--copper-dark); 
            padding: 40px 30px; margin-top: 30px; position: relative; box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 80px rgba(0,0,0,0.95); text-align: left; 
        }

        .ticket-header { font-family: var(--font-title); font-size: 1.2rem; color: var(--gold-title); text-align: center; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 25px; border-bottom: 1px solid rgba(184, 115, 51, 0.3); padding-bottom: 15px; }
        .client-info-box { text-align: center; margin-bottom: 30px; border-bottom: 1px dashed rgba(184, 115, 51, 0.3); padding-bottom: 20px; }
        .client-name { font-family: var(--font-title); font-size: 1.3rem; color: var(--text-ivory-bright); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
        .client-contact { font-family: var(--font-body); font-size: 1.1rem; color: var(--text-parchment); font-style: italic; }
        .order-list { list-style: none; margin-bottom: 25px; }
        .order-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(184, 115, 51, 0.2); padding: 12px 0; font-family: var(--font-body); font-size: 1.3rem; color: var(--text-ivory-bright); }
        .order-qty { color: var(--copper-main); font-weight: bold; margin-right: 10px; }
        .order-price { color: var(--gold-title); font-family: var(--font-title); font-size: 1rem; }
        .ticket-total { display: flex; justify-content: space-between; font-family: var(--font-title); font-size: 1.4rem; color: var(--text-ivory-bright); text-transform: uppercase; margin-top: 20px; padding-top: 15px; border-top: 2px solid var(--copper-dark); }
        .status-container { text-align: center; margin-top: 35px; }
        .status-badge { display: inline-block; padding: 12px 30px; font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.8); }
        .status-pending { background: rgba(92, 48, 13, 0.2); border: 1px solid #ff4d4d; color: #ff9999; text-shadow: 0 0 10px rgba(255, 77, 77, 0.5); animation: pulseWarning 2s infinite; }
        .status-confirmed { background: rgba(184, 115, 51, 0.1); border: 1px solid var(--gold-title); color: var(--gold-title); text-shadow: 0 0 10px rgba(255, 223, 115, 0.5); }
        
        /* --- BOTÃO DE AÇÃO PRINCIPAL --- */
        .btn-wrapper { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
        .btn-prosseguir { 
            display: inline-block; padding: 18px 45px; background: linear-gradient(180deg, rgba(20, 10, 5, 0.8) 0%, rgba(5, 2, 1, 0.9) 100%); border: 1px solid var(--copper-dark); border-radius: 2px; color: var(--text-parchment); text-decoration: none; text-transform: uppercase; letter-spacing: 4px; font-size: 0.95rem; font-family: var(--font-title); font-weight: 700; cursor: pointer; transition: all 0.4s ease; box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.8); 
        }
        .btn-prosseguir:hover { border-color: var(--copper-main); color: var(--text-ivory-bright); box-shadow: 0 0 25px rgba(184, 115, 51, 0.3), inset 0 0 20px rgba(184, 115, 51, 0.2); text-shadow: 0 0 10px rgba(255, 223, 115, 0.5); transform: translateY(-2px); }

        /* --- ANIMAÇÕES --- */
        @keyframes rotateSelo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes pulseWarning { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
        @keyframes emergeFromShadows { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
        @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        
        /* --- RESPONSIVIDADE --- */
        @media (max-width: 768px) { h1 { font-size: 2.4rem; } .royal-box { padding: 26px 26px 26px 26px; border-width: 14px; border-image-width: 32px; } .text-backdrop { padding: 30px 15px; } }

/* =========================================================
   CELULAR — os dois portais empilham
   =========================================================

   Relatado pelo dono: "PORTAL CONTEMPLATIVO" saindo uma
   sílaba por linha, na vertical.

   Os dois cartões ficam lado a lado num flex. Num aparelho
   de 390px, descontada a moldura, sobram cerca de 300px para
   os dois — 150px cada, menos o padding. Nenhum texto cabe
   nisso, e o navegador empilha letra por letra.

   Zerar o min-width, que foi minha primeira tentativa, só
   deixou os cartões encolherem à vontade: o texto continuou
   na vertical. O que resolve é o certo desde o começo — no
   celular eles param de dividir a linha e passam a ocupar
   a largura inteira, um sob o outro.
   ========================================================= */
@media (max-width: 768px) {
    .royal-box {
        border-width: 14px;
        border-image-width: 32px;
        padding: 26px 26px 26px 26px;
    }

    .text-backdrop {
        padding: 22px 14px;
    }

    /* Um sob o outro, cada um com a largura toda. */
    .portais-wrapper {
        flex-direction: column;
        gap: 18px;
    }

    .portal-card {
        min-width: 0;
        width: 100%;
        padding: 34px 18px 22px 18px;
    }

    /* O campo de nome e o de WhatsApp também param de brigar
       pela mesma linha: eram 250px cada em 300px de espaço. */
    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group {
        min-width: 0;
        width: 100%;
    }

    .reservation-date-group {
        max-width: 100%;
    }
}

/* Aperto de verdade: Android estreito. */
@media (max-width: 400px) {
    .royal-box {
        border-width: 10px;
        border-image-width: 24px;
        padding: 22px;
    }

    .text-backdrop {
        padding: 18px 10px;
    }

    .portal-card {
        padding: 28px 14px 18px 14px;
    }
}
