@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body{
    margin:0;
    padding:0; 
    background:#fff; 
    font-family: "Inter", sans-serif;
    font-weight: 300; 
    max-width: 100%;
    overflow-x: hidden !important;
}
	 
header{ 
	background-color: #eee;
    top:0;
    left:0;
    width:100%;
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    z-index:1000;
    transition:background-color 0.4s ease, color 0.4s ease;
}
header img{
    width: 55px;
    height: 55px;
    transition:0.3s ease;
	margin-left: 5%;
	background-color: #fff;
	border: 1px solid #aaaa;
	border-radius: 33px;
	padding: 5px;
}

.btnHeader{ 
	margin: auto 5% auto auto;
    display:inline-block;
    padding: 14px 16px;
    background:#e0e0e0;
    color:#666;
	text-decoration: none;
    border-radius:10px;
    margin-top:20px;
    font-size:16px;
    font-weight:600;
    transition:0.3s; 
}
.btnHeader:hover{
    background:#333;
    color:#fff;
}

/* PREVIEW */
#preview{
    width: 100vw;
    height: 120vh;
    background-color: #fff;
    position: fixed;
    top: -10vh;
    left: 0;
    border-radius: 33px;
    z-index: 9999999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    animation: slidePreviewUp 3s forwards;
}
#preview img{
    width: 133px;
    height: 133px;
}

.slideUp {
    animation: slidePreviewUp 1s forwards;
}
@keyframes slidePreviewUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(0); }
    100% { transform: translateY(-120vh); }
}

/* CONTENIDO */
.container {
    width: 600px; 
    margin:33px auto;
    padding: 30px;
    background:#f1f1f1;
    border-radius: 20px;
	border: 1px solid #aaa;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.container h2{
    font-size:28px;
    color:#000;
    font-weight:600; 
    margin-bottom:20px;
}
.container p{
    font-size:17px;
    color:#666;
    line-height:1.6; 
    margin-bottom:30px;
}
.container img{
    width: 55px;
    height: 55px;
	background-image: linear-gradient(0rad,#ccc,#fff,#fff);
	border: 1px solid #aaaa;
	border-radius: 8px;
	padding: 13px;
}

/* FORM FLOTANTE */
.form-group {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
}

input {
    width: 90%;
    padding: 18px 14px 6px 14px;
    border: 1px solid #d1d1d6;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    font-size: 17px;
    color:#1c1c1e;
    transition: all 0.25s ease;
    appearance: none;
    text-transform: uppercase; /* ← ← NUEVO: convierte a mayúsculas */
}

select {
    width: 50%;
    padding: 18px 14px 6px 14px;
    border: 1px solid #d1d1d6;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    font-size: 17px;
    color:#1c1c1e;
    transition: all 0.25s ease;
    appearance: none;
    cursor: pointer;
}

/* Label flotante */
label {
    position: absolute;
    left: 13px;
    top: 16px;
    color: darkgreen;
    font-size: 16px;
    background: transparent;
    padding: 0 5px;
    transition: all 0.25s ease;
    pointer-events: none;
}

input:focus,
select:focus {
    border-color: #4285F4;
    background:white;
    box-shadow: 0 0 0 4px rgba(66,133,244,0.20);
}

/* LABEL flotante */
input:focus + label,
input:not(:placeholder-shown) + label,
select.filled + label {
    top: -33px; 
    font-size: 12px;
    color: #4285F4;
    background:#eee;
    padding: 8px;
}

/* CHECKBOX */
.checkbox-box{
    position: relative;
    display: flex;

    align-items: center;
    gap: 10px;
}

.checkbox-box input[type="checkbox"]{
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
}

.custom-check{
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #988451;
    background: #fff;
    transition: 0.2s;
}

.checkbox-box input[type="checkbox"]:checked + .custom-check{
    background: #988451;
    border-color: #988451;
}

.checkbox-box input[type="checkbox"]:checked + .custom-check:after{
    content: "✔";
    color: white;
    font-size: 15px;
    position: relative;
    left: 4px;
    top: -1px;
}

.checkbox-label{
    cursor: pointer;
    font-size: 16px;
    color: #333;
	margin: -13px 0px 0px 33px;
}


/* BOTÓN */
.btn{
    display:inline-block;
    width: 50%;
    border: 0px;
    padding: 14px 16px;
    background:#988451;
    color:#fff;
    border-radius:33px;
    margin-top:20px;
    font-size:16px;
    font-weight:600;
    transition:0.3s; 
}
.btn:hover{
    background:#333;
    color:#fff;
}

.btn.disabled{
    background:#c7c7c7;
    color:#777;
    pointer-events:none;
}

/* NEXT SCREEN */
#next{
	width: 100vw;
	height: 120vh;
	background-color: #fff;
	position: fixed;
	top: 100vh;
	left: 0;
	border-radius: 33px;
	z-index: 9999999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#next img{
	width: 133px;
	height: 133px;
}

.activeNext{
    animation: showNext 1s forwards; 
}

@keyframes showNext {
    from { top: 100vh; }
    to { top: -10vh; }
}

/* MOBILE */
@media(max-width:1024px){
header{ 
    padding:0;
	border-bottom: 1px solid #fff;
}
.container {
    width: 80%;
}
label { left: 5px; }
}

/* ==========================================================================
   Padding lateral homogeneo: header / top / contenido / footer
   desktop 5% · tablet-movil 2%
   ========================================================================== */
:root{ --side-pad:5%; }
@media (max-width:1024px){ :root{ --side-pad:2%; } }
#header{ padding-left:var(--side-pad) !important; padding-right:var(--side-pad) !important; box-sizing:border-box; }
.topHeader{ margin:0 !important; width:100% !important; padding-left:var(--side-pad) !important; padding-right:var(--side-pad) !important; box-sizing:border-box; }
.titleSlider,.titleItems{ padding-left:var(--side-pad) !important; padding-right:var(--side-pad) !important; }
.carousel-track{ max-width:none !important; margin-left:var(--side-pad) !important; margin-right:var(--side-pad) !important; }
.itemsInside{ width:auto !important; margin-left:var(--side-pad) !important; margin-right:var(--side-pad) !important; box-sizing:border-box; }
.productsInside{ width:auto !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; padding-left:var(--side-pad) !important; padding-right:var(--side-pad) !important; box-sizing:border-box; }
.footer{ width:auto !important; margin-left:var(--side-pad) !important; margin-right:var(--side-pad) !important; box-sizing:border-box; }
.footer .box_footer_father{ padding-left:0 !important; padding-right:0 !important; }
.footer .bottom{ width:auto !important; margin-left:0 !important; margin-right:0 !important; }

/* ===== Autocompletado de países (nacionalidad / residencia) ===== */
.nat-section{ width:100%; }
.nat-person{ margin-bottom:6px; }
.ac-field{ position:relative; width:100%; margin-bottom:28px; text-align:left; }
.ac-label{ position:static; display:block; color:darkgreen; font-size:15px; margin:0 0 8px 0; padding:0; pointer-events:auto; }
.ac-wrap{ position:relative; }
.ac-input{ text-transform:none !important; }
.ac-list{ position:absolute; top:calc(100% + 4px); left:0; width:90%; max-height:230px; overflow-y:auto; margin:0; padding:6px; list-style:none; background:#fff; border:1px solid #d1d1d6; border-radius:12px; box-shadow:0 12px 30px rgba(0,0,0,.14); z-index:60; display:none; }
.ac-list.open{ display:block; }
.ac-list li{ padding:11px 12px; border-radius:8px; cursor:pointer; font-size:16px; color:#1c1c1e; text-transform:none; }
.ac-list li:hover, .ac-list li.active{ background:#eef9f9; }
.ac-hidden{ display:none !important; }
.ac-field.invalid .ac-input{ border-color:#e2504a !important; box-shadow:0 0 0 4px rgba(226,80,74,.15) !important; }

/* ===== Subida de identificación oficial (ID) ===== */
.id-section{ width:100%; margin-bottom:18px; }
.id-intro{ color:#1c1c1e; font-size:15px; line-height:1.5; margin:0 0 18px 0; }
.id-field{ position:relative; width:100%; margin-bottom:22px; text-align:left; }
.id-input{ width:90% !important; text-transform:none !important; padding:12px 14px !important; background:#fff !important; cursor:pointer; font-size:15px; }
.id-field.invalid .id-input{ border-color:#e2504a !important; box-shadow:0 0 0 4px rgba(226,80,74,.15) !important; }
