.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
}
.quiz-content{    
    overflow-y: scroll;
}
.quiz-content h2:first-of-type{
    display: none!important;
}
.quiz-content h2 {
    font-size: 16px;
    font-weight: 600;
}
.quiz-content .wp-list-table thead tr th:nth-of-type(6), .quiz-content .wp-list-table thead tr th:nth-of-type(7), 
.quiz-content .wp-list-table thead tr th:nth-of-type(8), .quiz-content .wp-list-table thead tr th:nth-of-type(9){
    display: none!important;
    width: 0px!important;
    float:left!important;
}
.quiz-content .wp-list-table tbody tr th:nth-of-type(6), .quiz-content .wp-list-table tbody tr th:nth-of-type(7), 
.quiz-content .wp-list-table tbody tr th:nth-of-type(8), .quiz-content .wp-list-table tbody tr th:nth-of-type(9){
    display: none!important;
    width: 0px!important;
    float:left!important;
},
.quiz-content .wp-list-table thead tr th:nth-of-type(1){
    width: 1%!important;
    float:left;
}
.quiz-content .wp-list-table thead tr th:nth-of-type(2), .wp-list-table tbody tr th:nth-of-type(2) {
    float: left;
    width: 990px!important;
}
.quiz-content tbody tr th, .quiz-content tbody tr th label {
    font-size: 15px!important;
    font-weight: 400;
    color: black;
}
.quiz-content tbody tr th p{
    margin-bottom: 0px!important;
}
/*.wp-list-table tbody tr {
    display:block!important;
}*/

.wpProQuiz_quiz{
    float:left;
}
.statistic_data{
    display: none!important;
}
table.wp-list-table.widefat {
    border: none!important;
}
.categoryTr{
    display:none!important;
}
ul.wpProQuiz_questionList {
    list-style: none;
}
.wpProQuiz_response {
    /*width: 82%;*/
    border-radius: 3px;
    background: #f7f7f7;
    padding: 20px;
    text-align: justify;
}
.wpProQuiz_AnswerMessage{
    text-align: justify!important;
}
li.wpProQuiz_answerCorrect {
    background: #e0ffe0;
}
.wpProQuiz_questionList li{
    padding: 13px;
}
.wpProQuiz_questionList label {
    display: flex;
    margin-top: 10px;
}
.wpProQuiz_questionList label p {
    margin-left: 10px!important;
    font-size: 14px;
}

.pointer{
    cursor: pointer;
}
.proximas-clases .clases-disponibles {
    max-height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 14px;
}

.proximas-clases a.lv-item {
    width: 100%;
    display: inline-block;
    border-bottom: 1px solid #eaeaea;
    color: #5e5e5e;
}

.proximas-clases .dashicons-video-alt{        
    color: #686868;
    font-size: 30px;
    margin-top: 10px;
    padding-right: 30px!important;
}

/* Pagina de configuración */
#config-page .woo_atenea_connect_options  a:before{
    content: "\f118"!important;
}
#config-page  .form-table th {
    vertical-align: top;
    text-align: left;
    padding: 20px 5px 20px 0;
    width: 120px;
    line-height: 1.3;
    font-weight: 600;
    font-size: 16px;
}
#config-page .form-table td {
  margin-bottom: 9px;
  padding: 15px 5px;
  line-height: 1.3;
  vertical-align: middle;
  font-size: 14px;
}
#config-page div.imagen {
  margin:0 0 25px -20px!important;
}
#config-page div.titulo {
  margin-left: 75px!important;
}

#config-page tr.border_bottom td {
  border-bottom:1pt solid #a3a3a3;
}
#config-page table.formularios {
    border-collapse: collapse;
}

#config-page table.formularios th{
    background-color: #0085ba;
    color:#fff;
}

#config-page table.formularios td{
    vertical-align:top;
}

#config-page .asigna-campos {
  text-align: left;
  font-size: 1em;
}
#config-page div.asigna-campos select {
  font-size: 0.95em;
  padding:2px;
}

#config-page input.campos {
  font-size: 0.95em;
  padding:7px;
  color:#000;
  width: 130px;
}

#config-page .icono_comercial {
  width: 25px;
  height: auto;
  margin: 5px 6px 0px 0;
}

#config-page #urlmal, #config-page .u_requerido, #config-page .p_requerido  {
  color:var(--atn-accent);
  display: none;
}

#config-page button#boton_comprobar {
    padding: 0px 2px;
    font-size: 11px;
    margin-left: 5px;
}





/* PC/Tablet */	
.quiz-content {
    overflow: auto;
}
table.wp-list-table.widefat {
    table-layout: fixed;
    width: 100%;
    padding: 1%;
    border: 1px solid #bababa80!important;
    border-radius: 0!important;
}
.quiz-content table thead th:nth-of-type(1) {
    width: 4%!important;
}
.quiz-content .wp-list-table thead tr th:nth-of-type(2), .wp-list-table tbody tr th:nth-of-type(2) {
    width: 60%!important;
    float: none!important;
}
.quiz-content div {
    margin-top: unset!important;
}
.quiz-content table thead th:nth-of-type(3) {
    width: 12%!important;
}
.quiz-content table thead th:nth-of-type(4) {
    width: 12%!important;
}
.quiz-content table thead th:nth-of-type(5) {
    width: 12%!important;
}
.wp-list-table tfoot tr th:nth-of-type(6),
.wp-list-table tfoot tr th:nth-of-type(7),
.wp-list-table tfoot tr th:nth-of-type(8),
.wp-list-table tfoot tr th:nth-of-type(9) {
    display: none!important;
}

.quiz-content table tbody .wpProQuiz_answerIncorrect {
    background: #ff00003d;
}

/* Mobiles portrait */	    
@media only screen and (min-device-width: 320px) and (max-aspect-ratio: 13/9) and (orientation:portrait) {
    table.wp-list-table.widefat {
        font-size: 10px!important;
        padding: 0;
    }
    .quiz-content table thead th:nth-of-type(1) {
        width: 2%!important;
    }
    .quiz-content .wp-list-table thead tr th:nth-of-type(2), .wp-list-table tbody tr th:nth-of-type(2) {
        width: 45%!important;
        padding-left: 20px!important;
    }
    .quiz-content table thead th:nth-of-type(3), .wp-list-table tbody tr th:nth-of-type(3)  {
        width: 14%!important;
        padding-left: unset;
    }
    .quiz-content table thead th:nth-of-type(4), .wp-list-table tbody tr th:nth-of-type(4)  {
        width: 17%!important;
        padding-left: unset;
    }
    .quiz-content table thead th:nth-of-type(5), .wp-list-table tbody tr th:nth-of-type(5)  {
        width: 12%!important;
        padding-left: unset;
    }
    .quiz-content tbody tr th, .quiz-content tbody tr th label {
        font-size: 12px!important;
    }
    .quiz-content tbody tr th, .quiz-content tbody tr th .wpProQuiz_questionList {
        margin: 0;
        padding-left: 0.5rem;
    }
}

.popup_alumnos{
    width: 100%;
    height: 100%;
    background-color: #eeeeee;
	padding: 5%;
}

.popup_alumnos.no_visible{
    display: none;
}

.close {
	color: #333333;
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer;
}

.ul_alumnos {
  list-style-type: none;
	color: black;
	font-size: medium;
	padding:0;
	margin-top: 25px;
}
.li_alumno {
	border: 1px solid gray;
    padding: 2%;
	cursor: pointer;
    margin: 10px 0 10px 0;
	background-color: var(--atn-accent);
	color: white;
}
.li_lde_alumno {
	margin-bottom: 5px;
	font-size: 12px;
}

.h5_alumnos {
	color: #333333;
	margin-bottom: 5px;
}
.h6_alumnos {
	color: #333333;
	margin-bottom: 5px;
    margin-top: 20px;
}
.alumnos_existentes {
	margin: 10px 0;
}
.ul_lde {
	list-style:none;
	display: flex;
    flex-direction: column;
    gap: 20px;
}
#botones_desactivar {
	gap: unset;
}

.ul_lde li:not(:last-child) { 
   margin-bottom: 5px;  
}
.dt-buttons, .dataTables_filter {
	margin-bottom:10px;
}

.shop_table, #order_review_heading {
	/*display:none;*/
}

.validate-required {
	display: flex;
    flex-direction: column;
}

.e-con-inner.no_visible {
	display:none!important;
}

label[for=billing_first_name] > span {
   display:none;
}

#enlace_custom.activo {
	display:block;
}
#enlace_custom a {
	font-weight: bold;

}
#enlace_custom {
	display:none;
}

.buttons-pdf, .btn-desactivar-lde, .li_alumno, .alumnos_existentes{
	background-color:var(--atn-accent);
}

.place-order{
	margin-top: 60px !important;
}

/* CONTENEDOR GENERAL DE LAS VARIACIONES */
.variations_form table.variations {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
}

/* CADA FILA COMO BLOQUE (LABEL ARRIBA, SELECT ABAJO) */
.variations_form table.variations tr {
    display: block;
    margin-bottom: 1.4rem;
}

.variations_form table.variations tr:last-child {
    margin-bottom: 0;
}

/* LABELS */
.variations_form table.variations th.label {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #444;
    font-weight: 600;
    padding: 0;
    margin-bottom: 0.45rem; /* espacio entre label y selector */
}

.variations_form table.variations th.label label {
    margin: 0;
}

/* CONTENEDOR DEL SELECT */
.variations_form table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
    position: relative;
}

/* SELECTS */
.variations_form table.variations select {
    margin-top: 5px;
    border-radius: 0px;
    display: block;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Placeholder */
.variations_form table.variations select option[value=""] {
    color: #999;
}

/* Hover / Focus */
.variations_form table.variations select:hover {
    background-color: #f0f0f0;
}

.variations_form table.variations select:focus {
    border-color: #111;
    background-color: #ffffff;
}

/* ELIMINAR CUALQUIER FLECHA PERSONALIZADA RARA */
.variations_form table.variations td.value::after {
    content: none !important;
}

/* BOTÓN "LIMPIAR" */
.variations_form .reset_variations {
    display: inline-flex;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 3px;
    border: 1px solid #666;
    color: #555;
    background: #fafafa;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.variations_form .reset_variations:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.single_add_to_cart_button{
    margin-top: 20px;
}

.price{
    color: black !important;
    font-weight: bold;
    font-size: large;
}

.showcoupon, .wc-forward{
 color:white !important;
}

.showcoupon{
 border-bottom: 1px solid white;

}

.apply_coupon{
 color: white !important;
}

.shop_table thead tr:first-child {
  display: none;
}


/*Logout wp-atenea*/

.atn-logout-panel { 
max-width: 420px; 
margin: 100px auto; 
border: 1px solid #e1e5e9; 
padding: 24px; 
border-radius: 12px; 
background: #fff;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
font-family: var(--atn-body-font);
text-align: center;
}

.atn-logout-panel h3 { 
margin-top: 0; 
margin-bottom: 20px;
color: var(--atn-text);
font-size: 24px;
font-weight: 700;
}

.atn-logout-message {
background: #f0fff4;
border: 1px solid #9ae6b4;
color: #276749;
padding: 16px;
border-radius: 8px;
margin-bottom: 20px;
font-size: 16px;
}

.atn-loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid var(--atn-accent);
border-radius: 50%;
border-top-color: transparent;
animation: atn-spin 1s ease-in-out infinite;
margin-right: 10px;
vertical-align: middle;
}

@keyframes atn-spin {
to { transform: rotate(360deg); }
}

/*Login wp-atenea*/
div#atenea-login {
border: 1px solid #B8B419;
margin-bottom: 10px;
cursor: pointer;
}
div#atenea-login span {
position: absolute;
margin-top: 8px;
margin-left: 30px;
}
#atenea-login img{
width: 30px;
margin-left: 17px;
}

/*grupos agotado*/
.ac-msg-grupo-agotado{

border:1px solid #e0b4b4; background:#fff6f6;
}

/*grupos sin opciones*/
.ac-msg-sin-opciones{
border:1px solid #e0b4b4; background:#fff6f6;
}

/*Datos rellenos*/

.nombre_curso{
color:red;
}

.li_lde_alumno{
color:black;
}

/* Estilos para los botones */
.custom-btns-container {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin: 20px 0;
justify-content: center;
}

.custom-btns-container input,
.nuevo-alumno-popup {
background-color: black !important;
color: white !important;
border: 2px solid black !important;
padding: 12px 20px !important;
border-radius: 8px !important;
font-weight: 600 !important;
font-size: 14px !important;
cursor: pointer !important;
transition: all 0.3s ease !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
min-width: 200px;

}

.nuevo-alumno-popup{
margin-top:40px;
}

.custom-btns-container input:hover,
.nuevo-alumno-popup:hover {
background-color: white !important;
color: black !important;
transform: translateY(-2px);
box-shadow: 0 4px 12px var(--atn-secondary);
}

/* Estilos para el popup */
.popup_alumnos {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
z-index: 10000;
max-width: 90%;
width: 500px;
max-height: 80vh;
overflow-y: auto;
}

.popup_alumnos .h5_alumnos {
font-size: 24px;
font-weight: 700;
margin-bottom: 15px;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
}
.popup_alumnos .h7_alumnos{
color: var(--atn-text);
font-size: 16px;
font-weight: 600;
text-align: left;
display:inline;
}


.popup_alumnos .h6_alumnos {
color: var(--atn-text);
font-size: 16px;
font-weight: 600;
margin-bottom: 20px;
text-align: center;
}

.popup_alumnos .close {
position: absolute;
top: 15px;
right: 20px;
cursor: pointer;
color: var(--atn-accent);
font-weight: bold;
font-size: 18px;
background: white;
border: 2px solid var(--atn-accent);
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.popup_alumnos .close:hover {
background: var(--atn-accent);
color: white;
transform: rotate(90deg);
}

/* Lista de alumnos */
.ul_alumnos {
list-style: none;
padding: 0;
margin: 0;
}

.li_alumno {
padding: 15px;
margin: 8px 0;
border: 2px solid #e0e0e0;
border-radius: 8px;
cursor: pointer;
background: var(--atn-accent);
transition: all 0.3s ease;
font-weight: 500;
margin-top: 30px;
}

.li_alumno:hover {
background: var(--atn-accent);
color: white;
border-color: var(--atn-accent);
transform: translateX(5px);
box-shadow: 0 4px 12px var(--atn-secondary);
}

.li_lde_alumno {
padding: 8px 12px;
margin: 5px 0;
background:#f4fecc ;
border-left: 4px solid #98bf0e;
border-radius: 4px;
font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
.custom-btns-container {
    flex-direction: column;
    align-items: center;
}

.custom-btns-container input {
    width: 100%;
    max-width: 300px;
}

.popup_alumnos {
    width: 95%;
    padding: 20px;
    margin: 10px;
}

.popup_alumnos .h5_alumnos {
    font-size: 20px;
}

.popup_alumnos .h6_alumnos {
    font-size: 14px;
}
}

@media (max-width: 480px) {
.custom-btns-container input {
    min-width: unset;
    padding: 10px 15px !important;
    font-size: 13px !important;
}

.popup_alumnos {
    padding: 15px;
}

.li_alumno {
    padding: 12px;
    font-size: 14px;
}
}

/* Overlay para el popup */
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
z-index: 9999;
}

.no_visible {
display: none !important;
}
/*datos completos*/
/* Estilos para mejorar la apariencia de la tabla en español */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
color: var(--atn-text);
font-family: var(--atn-body-font);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
padding: 0.5em 1em;
margin-left: 2px;
border: 1px solid #ddd;
border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
background: var(--atn-primary);
color: white !important;
border: 1px solid var(--atn-primary);
}

.dt-button {
background: var(--atn-accent) !important;
color: white !important;
border: none !important;
padding: 8px 16px !important;
border-radius: 4px !important;
margin: 5px !important;
}

.dt-button:hover {
background: #d40c00 !important;
color: white !important;
}

.atn-register-panel { 
    max-width: 600px; 
    margin: 20px auto; 
    border: 1px solid #e1e5e9; 
    padding: 24px; 
    border-radius: 12px; 
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: var(--atn-body-font);
}

.atn-register-panel h2 { 
    margin-top: 0; 
    margin-bottom: 16px;
    color: var(--atn-text);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.atn-register-panel h3 { 
    margin: 30px 0 20px 0;
    color: var(--atn-text);
    font-size: 22px;
    font-weight: 600;
    border-bottom: 2px solid var(--atn-accent);
    padding-bottom: 8px;
}

.atn-register-panel h4 {
    text-align: center;
    color: #e53e3e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    background: #fed7d7;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #feb2b2;
}

.atn-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.atn-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.atn-field { 
    flex: 1;
    margin-bottom: 0;
    position: relative;
}

.atn-field label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: var(--atn-text);
    font-size: 14px;
}

.atn-field input[type="text"],
.atn-field input[type="email"],
.atn-field input[type="tel"],
.atn-field input[type="password"],
.atn-field select { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid #cbd5e0; 
    border-radius: 8px; 
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}

.atn-field input:focus,
.atn-field select:focus { 
    outline: none;
    border-color: var(--atn-primary);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.atn-field .req::after {
    content: " *";
    color: #e53e3e;
}

.atn-info-text {
    font-size: 14px;
    color: var(--atn-secondary);
    margin-top: 5px;
    font-style: italic;
}

.atn-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
}

.atn-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.atn-checkbox label {
    font-size: 14px;
    color: var(--atn-text);
    cursor: pointer;
}

.atn-actions { 
    display: flex; 
    gap: 10px; 
    align-items: center;
    margin-top: 30px;
    flex-direction: column;
}

.atn-btn { 
    background: var(--atn-accent); 
    color: #fff; 
    border: none; 
    padding: 14px 24px; 
    border-radius: 8px; 
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.atn-btn:hover {
    background: var(--atn-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--atn-secondary);
}

.atn-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.atn-alert { 
    margin-bottom: 16px; 
    padding: 12px 16px; 
    border-radius: 8px; 
    font-size: 14px;
}

.atn-ok { 
    background: #f0fff4; 
    border: 1px solid #9ae6b4; 
    color: #276749; 
}

.atn-error { 
    background: #fed7d7; 
    border: 1px solid #feb2b2; 
    color: #c53030; 
}

.atn-info { 
    background: var(--atn-primary); 
    border: 1px solid var(--atn-primary); 
    color: var(--atn-primary); 
}

.atn-required-note {
    text-align: center;
    color: var(--atn-secondary);
    font-size: 14px;
    margin: 20px 0;
    font-style: italic;
}

.atn-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.atn-nav-link {
    color: var(--atn-accent);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.atn-nav-link:hover {
    color: var(--atn-accent);
    text-decoration: underline;
}

.pointer {
    cursor: pointer;
    color: var(--atn-accent);
    text-decoration: underline;
}

.dni-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.dni-valid {
    color: #38a169;
}

.dni-invalid {
    color: #e53e3e;
}

.response-debug {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 300px;
    overflow-y: auto;
}

.response-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--atn-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .atn-register-panel {
        margin: 10px;
        padding: 20px;
    }
    
    .atn-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .atn-register-panel {
        padding: 16px;
    }
    
    .atn-register-panel h2 {
        font-size: 24px;
    }
    
    .atn-register-panel h3 {
        font-size: 20px;
    }
}

/*documentacion*/
.tg-documentacion-container {
max-width: 760px;
margin: 0 auto;
padding: 10px 15px 30px;
font-family: var(--atn-body-font);
color: var(--atn-text);
}

.tg-progress-bar {
display: flex;
gap: 6px;
margin-bottom: 24px;
}

.tg-progress-step {
flex: 1;
text-align: center;
font-size: 13px;
}

.tg-step-number {
width: 30px;
height: 30px;
border-radius: 999px;
margin: 0 auto 6px;
border: 1px solid #d0d0d0;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
background: #f7f7f7;
}

.tg-progress-step.tg-step-active .tg-step-number {
background: #ffffff;
border-color: #999;
}

.tg-progress-step.tg-step-completed .tg-step-number {
background: #f0f0f0;
border-color: #999;
}

.tg-step-label {
color: #444;
line-height: 1.2;
}

.tg-form-step {
display: none;
background: #fff;
border-radius: 8px;
border: 1px solid #e2e2e2;
padding: 20px 18px;
box-sizing: border-box;
}

.tg-form-step.tg-step-active {
display: block;
}

.tg-step-title {
font-size: 18px;
font-weight: 600;
margin: 0 0 16px;
color: var(--atn-text);
}

.tg-documento-item {
margin-bottom: 16px;
padding: 12px 10px;
border-radius: 6px;
border: 1px solid #e4e4e4;
background: #fafafa;
}

.tg-documento-label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: var(--atn-text);
}

.tg-requerido {
color: #c0392b;
font-weight: 600;
margin-left: 3px;
}

.tg-condicional-badge {
font-size: 12px;
color: #7f8c8d;
margin-left: 5px;
}

.tg-descripcion-html {
background: #ffffff;
border-radius: 4px;
border-left: 3px solid #bbb;
padding: 8px 10px;
margin-bottom: 10px;
font-size: 13px;
color: #444;
}

.tg-form-control {
width: 100%;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #d6d6d6;
padding: 8px 10px;
font-size: 14px;
background: #fff;
}

.tg-checkbox-list-excursion{
display:flex;
flex-direction:column;
gap:8px;
padding:10px 0;
}
.tg-checkbox-item-excursion{
display:flex;
gap:10px;
align-items:flex-start;
cursor:pointer;
}
.tg-checkbox-item-excursion input{
margin-top:3px;
}

.tg-form-control:focus {
outline: none;
border-color: #999;
}

.tg-radio-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 4px;
}

.tg-radio-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 14px;
cursor: pointer;
}

.tg-file-upload {
border-radius: 4px;
padding: 12px 10px;
text-align: left;
border: 1px dashed #c8c8c8;
background: #fff;
font-size: 14px;
cursor: pointer;
}

.tg-file-input {
display: none;
}

.tg-file-name {
margin-top: 4px;
font-size: 13px;
color: #555;
}

.tg-file-error {
margin-top: 4px;
font-size: 12px;
color: #c0392b;
}

.tg-error {
margin-top: 4px;
font-size: 13px;
color: #c0392b;
}

.tg-navigation {
display: flex;
justify-content: space-between;
margin-top: 18px;
padding-top: 10px;
border-top: 1px solid #ececec;
gap: 10px;
}

.tg-btn {
border-radius: 4px;
border: 1px solid #c8c8c8;
background: #f5f5f5;
padding: 8px 16px;
font-size: 14px;
cursor: pointer;
min-width: 120px;
}

.tg-btn-primary {
background: #f0f0f0;
}

.tg-btn:disabled {
opacity: 0.6;
cursor: default;
}

.tg-success {
margin-top: 16px;
padding: 10px 12px;
border-radius: 4px;
border: 1px solid #cdeccd;
background: #f4faf4;
color: #2c662d;
font-size: 14px;
}

.tg-condicional-hidden {
display: none !important;
}

@media (max-width: 640px) {
.tg-progress-bar {
    flex-direction: column;
    align-items: flex-start;
}
.tg-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}
.tg-step-number {
    margin: 0;
}
}
.tg-documento-label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: var(--atn-text);
line-height: 1.4; /* Añadir esto para mejor espaciado */
}

.tg-documento-label b,
.tg-documento-label strong {
font-weight: 700;
}

.tg-documento-label i,
.tg-documento-label em {
font-style: italic;
}

.tg-requerido-condicional {
color: #f39c12; /* Naranja en lugar de rojo */
font-weight: 600;
margin-left: 3px;
opacity: 0.7;
}
.tg-select-single select {
width: 100%;
max-width: 300px;
}

.tg-checkbox-group {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 6px;
}

.tg-checkbox-label {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: 14px;
}

.tg-checkbox-label input[type="checkbox"] {
margin: 0;
}

/* Estilos para Select2 */
.select2-container--default .select2-selection--multiple {
border: 1px solid #d6d6d6;
border-radius: 4px;
min-height: 38px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
border-color: #999;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #d74333;
color: white;
border: none;
border-radius: 3px;
padding: 2px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
color: white;
margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
color: #ffcccc;
}

/* Para que se vea mejor en móviles */
@media (max-width: 640px) {
.select2-container {
    width: 100% !important;
}
}

.atn-login-panel { 
max-width: 420px; 
margin: 20px auto; 
border: 1px solid #e1e5e9; 
padding: 24px; 
border-radius: 12px; 
background: #fff;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
font-family: var(--atn-body-font);
}

.atn-login-panel h3 { 
margin-top: 0; 
margin-bottom: 20px;
color: var(--atn-text);
font-size: 24px;
font-weight: 700;
text-align: center;
}

.atn-field { 
margin-bottom: 20px; 
position: relative;
}

.atn-field label { 
display: block; 
font-weight: 600; 
margin-bottom: 8px; 
color: var(--atn-text);
font-size: 14px;
}

.atn-field input[type="text"], 
.atn-field input[type="password"] { 
width: 100%; 
padding: 12px 16px; 
border: 1px solid #cbd5e0; 
border-radius: 8px; 
font-size: 16px;
transition: all 0.2s ease;
box-sizing: border-box;
}

.atn-field input[type="text"]:focus, 
.atn-field input[type="password"]:focus { 
outline: none;
border-color: var(--atn-primary);
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.password-toggle {
position: absolute;
right: 12px;
top: 38px;
background: none;
border: none;
cursor: pointer;
color: var(--atn-secondary);
padding: 4px;
border-radius: 4px;
transition: color 0.2s ease;
}

.password-toggle:hover {
color: var(--atn-accent);
background: #f7fafc;
}

.password-toggle svg {
width: 20px;
height: 20px;
display: block;
}

.atn-actions { 
display: flex; 
gap: 10px; 
align-items: center;
margin-top: 24px;
flex-direction: column;
}

.atn-btn { 
background: var(--atn-accent); 
color: #fff; 
border: none; 
padding: 14px 24px; 
border-radius: 8px; 
cursor: pointer;
font-size: 16px;
font-weight: 600;
transition: all 0.2s ease;
width: 100%;
}

.atn-btn:hover {
background: var(--atn-secondary);
transform: translateY(-1px);
box-shadow: 0 4px 8px var(--atn-secondary);
}

.atn-btn:active {
transform: translateY(0);
}

.atn-btn:disabled {
background: #a0aec0;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.atn-alert { 
margin-bottom: 16px; 
padding: 12px 16px; 
border-radius: 8px; 
font-size: 14px;
}

.atn-ok { 
background: #f0fff4; 
border: 1px solid #9ae6b4; 
color: #276749; 
}

.atn-error { 
background: #fed7d7; 
border: 1px solid #feb2b2; 
color: #c53030; 
}

.atn-info { 
background: var(--atn-primary); 
border: 1px solid var(--atn-primary); 
color: var(--atn-primary); 
}

.atn-forgot-password {
color: var(--atn-accent);
text-decoration: none;
font-size: 14px;
text-align: center;
display: block;
margin-top: 16px;
transition: color 0.2s ease;
}

.atn-forgot-password:hover {
color: var(--atn-accent);
text-decoration: underline;
}

.atn-loading {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid #ffffff;
border-radius: 50%;
border-top-color: transparent;
animation: atn-spin 1s ease-in-out infinite;
margin-right: 8px;
vertical-align: middle;
}

.atn-process-message {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
background: #f7fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
margin: 16px 0;
}

@keyframes atn-spin {
to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
.atn-login-panel {
    margin: 10px;
    padding: 20px;
}

.atn-actions {
    flex-direction: column;
}

.atn-btn {
    width: 100%;
}
}

@media (max-width: 320px) {
.atn-login-panel {
    padding: 16px;
}

.atn-login-panel h3 {
    font-size: 20px;
}
}

.atn-password-panel { 
    max-width: 480px; 
    margin: 20px auto; 
    border: 1px solid #e1e5e9; 
    padding: 24px; 
    border-radius: 12px; 
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: var(--atn-body-font);
}

.atn-password-panel h3 { 
    margin-top: 0; 
    margin-bottom: 16px;
    color: var(--atn-text);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.atn-password-panel h4 {
    text-align: center;
    color: var(--atn-accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.atn-password-panel p {
    color: var(--atn-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
}

.atn-field { 
    margin-bottom: 20px; 
    position: relative;
}

.atn-field label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: var(--atn-text);
    font-size: 14px;
}

.atn-field input[type="text"], 
.atn-field input[type="email"] { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid #cbd5e0; 
    border-radius: 8px; 
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.atn-field input:focus { 
    outline: none;
    border-color: var(--atn-primary);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.atn-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
}

.atn-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.atn-checkbox label {
    font-size: 14px;
    color: var(--atn-text);
    cursor: pointer;
}

.atn-actions { 
    display: flex; 
    gap: 10px; 
    align-items: center;
    margin-top: 24px;
    flex-direction: column;
}

.atn-btn { 
    background: var(--atn-accent); 
    color: #fff; 
    border: none; 
    padding: 14px 24px; 
    border-radius: 8px; 
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
}

.atn-btn:hover {
    background: var(--atn-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--atn-secondary);
}

.atn-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.atn-alert { 
    margin-bottom: 16px; 
    padding: 12px 16px; 
    border-radius: 8px; 
    font-size: 14px;
}

.atn-ok { 
    background: #f0fff4; 
    border: 1px solid #9ae6b4; 
    color: #276749; 
}

.atn-error { 
    background: #fed7d7; 
    border: 1px solid #feb2b2; 
    color: #c53030; 
}

.atn-info { 
    background: var(--atn-primary); 
    border: 1px solid var(--atn-primary); 
    color: var(--atn-primary); 
}

.atn-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.atn-nav-link {
    color: var(--atn-accent);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.atn-nav-link:hover {
    color: var(--atn-accent);
    text-decoration: underline;
}

.atn-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: atn-spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes atn-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .atn-password-panel {
        margin: 10px;
        padding: 20px;
    }
    
    .atn-navigation {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}