/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v15-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v15-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins-v15-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v15-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v15-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v15-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v15-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v15-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/poppins-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v15-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* Viewport */
@-ms-viewport{
	width: extend-to-zoom;
	zoom: 1.0
}

/* Reset */
ul, li {
	margin: 0;
	padding: 0;
	list-style-type: none
}

/* Clearfix */
.clear:before, .clear:after { content: ' '; display: table }
.clear:after { clear: both }

/* Global */
html {
	zoom: 0.9;
}

.show-mobile { display: none }

body {
	position: relative;
	margin: 0;
	padding: 0;
	background-color: #F8F8F8;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: normal;
	color: #575757
}

p {
	margin: 0 0 20px
}
b, strong {
	font-weight: 500
}

a {
	position: relative;
	text-decoration: none;
	color: #221D3D
}
a::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 1px;
	background-color: #221D3D;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform .2s ease-out
}
a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left
}

.small {
	font-size: 11px
}
.euro {
	margin-left: 2px
}

.warnings {
	margin-bottom: 30px;
	width: 100%
}
.help, .ok, .error {
	margin: 0 0 8px;
	padding: 14px 15px;
	width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 500;
	color: #FFF
}
.help { background-color: #DAF4FF; color: #221D3D }
.ok { background-color: #DBF8F3; color: #2FAB6A }
.error { background-color: #FDDEE0; color: #F86142 }

.error:last-of-type, .ok:last-of-type { margin-bottom: 30px }

.help a, .ok a, .error a {
	border-bottom: 1px solid
}

/* Margins */
.marginBottom {
	margin-bottom: 50px
}

/* Colors */
.blue {
	color: #221D3D
}
.green {
	color: #63BEBF
}
.red {
	color: #F86142
}
.orange {
	color: #63BEBF
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	font-weight: bold;
	line-height: normal;
	color: #221D3D
}
h1 { font-size: 30px; margin-bottom: 30px }
h2 { font-size: 25px }
h3 { font-size: 23px }
h4 { font-size: 20px }
h5 { font-size: 18px }
h6 { font-size: 16px; font-weight: 500; margin-bottom: 5px }

h1 .circle-nb,
h2 .circle-nb {
	position: relative;
	z-index: 1;
	display: inline-block;
	vertical-align: middle;
	margin: 0 28px 0 12px;
	text-align: center;
	color: #FFF
}
h2 .circle-nb {
	margin-left: 15px
}
h1 .circle-nb::before,
h2 .circle-nb::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: -1;
	width: 50px;
	height: 50px;
	background-color: #221D3D;
	border-radius: 50%
}

.page-wrap {
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box
}

/* Margins */
.mt-sm { margin-top: 10px }
.mt-md { margin-top: 20px }
.mt-lg { margin-top: 30px }
.mt-xl { margin-top: 60px }

.mb-sm { margin-bottom: 10px }
.mb-md { margin-bottom: 20px }
.mb-lg { margin-bottom: 30px }
.mb-xl { margin-bottom: 60px }

/* Columns */
.col2,
.col3,
.col4,
.col5 {
	display: flex;
	flex-wrap: wrap;
	width: 100%
}
.col2 > li,
.col3 > li,
.col4 > li,
.col5 > li {
	box-sizing: border-box
}
.col2 > li {
	width: calc(50% - 10px)
}
.col3 > li {
	width: calc(33.333333% - 10px)
}
.col4 > li {
	width: calc(25% - 10px)
}
.col5 > li {
	width: calc(20% - 10px)
}
.col2,
.col3,
.col4,
.col5 {
	justify-content: space-between
}

/* Forms */
#form-wrap {
	margin: 0 auto;
	width: 100%;
	max-width: 1100px
}
form {
	-webkit-appearance: none;
	   -moz-appearance: none;
    	    appearance: none
}
form li {
	margin-bottom: 20px
}
form input[type="submit"] {
	margin-top: 10px
}
fieldset {
	margin: 0;
	padding: 25px 0 0;
	background-color: #FFF;
	border: none;
	border-radius: 0
}
label, .label {
    display: block;
	margin: 0 0 5px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: #221D3D
}
label i, .label i {
	margin-right: 5px
}
input[type="text"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="range"],
input[type="color"],
input[type="file"],
select,
textarea {
	margin: 0;
    padding: 10px 0;
    width: 100%;
	border: none;
    border-bottom: 2px solid #EEE;
    background-color: transparent;
    box-sizing: border-box;
	font-size: 16px;
	color: #555;
    transition: border linear .2s;
	filter: none;
	-webkit-appearance: none;
	   -moz-appearance: none;
    	    appearance: none
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="datetime"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="range"]:focus,
input[type="color"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
    border-color: #221D3D;
	outline: none
}
input[type="checkbox"] {
	margin: 0;
	cursor: pointer
}
.input-checkbox {
	display: flex;
	margin: 25px 0;
	font-size: 13px;
	line-height: 17px
}
.input-checkbox li:first-child {
	margin-bottom: 0;
	width: 22px
}
.input-checkbox li:last-child {
	flex: 1;
	margin-bottom: 0
}
.input-checkbox label {
	font-size: 14px;
	font-weight: normal;
	text-transform: none;
	color: #575757;
	cursor: pointer
}
.input-checkbox a {
	border-bottom: 1px solid;
	font-weight: 500
}
select {
	padding: 12px 20px 12px 0;
	background: transparent url("data:image/svg+xml;utf8,<svg fill='black' height='18' viewBox='0 0 24 20' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v20H0z' fill='none'/></svg>")  no-repeat calc(100% - 1px) 6px;
	cursor: pointer
}
option {
	padding: 8px 5px;
	cursor: pointer
}
option.zebra2 {
	background-color: #FBFBFB
}
.radio-buttons input[type="radio"] {
	opacity: 0;
	position: fixed;
	width: 0
}
.radio-buttons label {
    display: block;
	margin: 10px 0;
    padding: 10px 15px;
	width: 100%;
	max-width: 250px;
    background-color: #AAA;
	border-radius: 30px;
	font-size: .9em;
	text-align: center;
	color: #FFF;
	cursor: pointer
}
.radio-buttons input[type="radio"]:checked + label {
    background-color: #63BEBF;
	color: #FFF
}
input[type="submit"], input[type="button"] {
	-webkit-appearance: none;
	   -moz-appearance: none;
    	    appearance: none
}
button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner {
  padding: 0;
  border: 0
}
input[placeholder] {
	color: #333
}
input[disabled], textarea[disabled] {
	background-color: #FDFDFD !important
}
input[type="submit"][disabled], input[type="button"][disabled], button[disabled] {
    background-color: #DDD !important;
    cursor: default
}
.img-upload .label {
	margin-bottom: 10px
}
.img-upload > ul > li {
	padding: 15px 0 10px;
	min-height: 85px;
	box-sizing: border-box;
	border-bottom: 2px solid #EEE
}
/* Remove navigator background style */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important
}
.img-preview {
	display: table;
	width: 100%
}
.img-preview li {
	display: table-cell;
	vertical-align: middle
}
.img-preview li:first-child {
	padding-right: 20px;
	width: 70px
}
.img-preview img {
	width: 100%;
	border-radius: 10px
}
.choose-file-input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
	left: -99999999px
}
.ql-editor {
	padding: 20px;
	min-height: 300px;
	background-color: #FFF;
	resize: vertical
}
.ql-toolbar.ql-snow,
.ql-container.ql-snow {
	background-color: #EEE;
	border: 2px solid #EEE
}
.ql-container.ql-snow {
	background-color: #FFF
}
.required {
    padding: 0 2px;
    color: #D50027
}
#loading {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	background: #221D3D30 url('../img/loading.svg') no-repeat center
}

/* Buttons */
.btn-xs,
.btn-sm,
.btn-md,
.btn-lg,
.btn-xl {
	display: inline-block;
	box-sizing: border-box;
	border: none;
	white-space: nowrap;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	transition: all .3s ease-in-out;
	cursor: pointer
}
.btn-xs:hover,
.btn-sm:hover,
.btn-md:hover,
.btn-lg:hover,
.btn-xl:hover {
	text-decoration: none
}
.btn-xs::after,
.btn-sm::after,
.btn-md::after,
.btn-lg::after,
.btn-xl::after {
	content: inherit
}
.btn-xs i,
.btn-sm i,
.btn-md i,
.btn-lg i,
.btn-xl i {
	margin-right: 10px;
	font-size: 1.1em
}
.btn-i-right i {
	margin-right: 0;
	margin-left: 10px
}
.btn-xs {
	padding: 5px 20px;
	font-size: 12px
}
.btn-sm {
	padding: 10px 25px;
	font-size: 12px
}
.btn-md {
	padding: 14px 25px;
	font-size: 13px
}
.btn-lg {
	padding: 15px 35px;
	font-size: 13px
}
.btn-xl {
	padding: 16px 60px;
	font-size: 15px
}

.btn-100 {
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%
}

.btn-white {
	background-color: #FFF;
	color: #333
}
.btn-white:hover {
}
.btn-white-edge {
	border: 1px solid #FFF;
	color: #FFF
}
.btn-white-edge:hover {
	background-color: #FFF;
	color: #333 !important
}
.btn-blue {
	background-color: #221D3D;
	color: #FFF
}
.btn-blue:hover {
	background-color: #171F32
}
.btn-green {
	background-color: #63BEBF;
	color: #FFF
}
.btn-green:hover {
	background-color: #4BB4B5
}
.btn-red {
	background-color: #DD3333;
	color: #FFF
}
.btn-red:hover {
	background-color: #CA2121
}
.btn-orange {
	background-color: #63BEBF;
	color: #FFF
}
.btn-orange:hover {
	background-color: #4EB6B6
}

/* Badges */
.badge-blue,
.badge-green,
.badge-red,
.badge-orange,
.badge-gray {
	display: inline-block;
	margin-left: 5px;
	padding: 5px 6px;
	min-width: 24px;
	box-sizing: border-box;
	border: none;
	border-radius: 3px;
	vertical-align: middle;
	font-size: 11px;
	line-height: 1em;
	text-transform: uppercase;
	color: #FFF
}
.badge-bubble {
	padding: 5px 7px;
	margin: 0 0 0 8px;
	border-radius: 15px;
	font-size: .95em;
	font-weight: 600
}
.badge-blue {
	background-color: #221D3D
}
.badge-green {
	background-color: #63BEBF
}
.badge-red {
	background-color: #F86142
}
.badge-orange {
	background-color: #63BEBF
}
.badge-gray {
	background-color: #EEE;
	color: #555
}
h1 .badge-gray {
	background-color: #DDD
}
h1 .badge-blue,
h1 .badge-green,
h1 .badge-red,
h1 .badge-orange,
h1 .badge-gray {
	padding: 8px 9px;
	font-size: 11px
}
button.badge-blue,
button.badge-green,
button.badge-red,
button.badge-orange,
button.badge-gray {
	min-height: 25px;
	font-size: 1em
}
button.badge-blue i,
button.badge-green i,
button.badge-red i,
button.badge-orange i,
button.badge-gray i {
	cursor: pointer
}

/* Tables */
ul.table-head,
ul.table-row {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 2px solid #EEE;
	justify-content: space-between;
	align-items: center
}
ul.table-head {
	padding-bottom: 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: #221D3D
}
ul.table-row:last-of-type {
	margin-bottom: 0;
	border-bottom: none
}
ul.table-row .actions a {
	margin: 5px 0 5px 5px
}

/* Sidebar */
#sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	padding: 30px 20px 15px;
	width: 100%;
	max-width: 280px;
	box-sizing: border-box;
	background: linear-gradient(135deg, #332C5C 10%, #221D3D 90%);
	color: #FFF;
	transition: all .3s ease-in-out;
	display: flex;
	flex-direction: column;
}
#sidebar a {
	position: relative;
	display: inline-block;
	border-color: #FFF;
	color: #FFF
}
#sidebar a:after {
	background-color: #FFF
}
#sidebar #user-info a:after {
	display: none
}
#sidebar #user-info > ul {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	background-color: #221D3D;
	border-radius: 10px;
	font-size: 14px
}
#sidebar #user-info ul ul li:last-child {
	margin-top: 4px;
	font-size: .8em
}
#sidebar #user-info img {
	margin: 7px 10px 0 0;
	object-fit: cover;
	object-position: top;
	border-radius: 50%
}
/* Las banderas de los controles (bandera circular 24×24) NO son el avatar:
   sin el margin/crop/radius que la regla de arriba impone a los img del bloque */
#sidebar #user-info .sb-user-controls img {
	margin: 0;
	width: 18px;
	height: 18px;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
}
#sidebar .badge-bubble {
	position: absolute;
	right: -38px;
	font-size: 14px
}
#sidebar .badge-dot {
	position: absolute;
	top: -2px;
	right: -10px;
	display: block;
	width: 10px;
	height: 10px;
	background-color: red;
	border-radius: 50%
}

#sb-footer {
	padding-top: 12px;
	flex-shrink: 0;
}
#sb-footer li {
	margin-top: 8px;
	font-size: 15px
}
#sb-footer ul a {
	font-size: 13px
}
/* Páginas CMS: los 3 enlaces (nombres cortos) en una sola línea centrada,
   separados por · y pegados al borde inferior del sidebar */
#sb-footer ul.sb-pages {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
#sb-footer .sb-pages li {
	margin-top: 0;
}
#sb-footer .sb-pages li + li::before {
	content: '·';
	margin: 0 7px;
	color: rgba(255, 255, 255, 0.5);
}

/* Logo */
#logo {
	text-align: center
}
#logo a:after {
	background-color: transparent
}

/* Nav */
#nav {
	text-align: left;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.2) transparent;
	/* El ID gana al .mb-lg del markup: menos hueco hasta la zona de banners */
	margin-bottom: 8px;
}
#nav::-webkit-scrollbar {
	width: 4px;
}
#nav::-webkit-scrollbar-track {
	background: transparent;
}
#nav::-webkit-scrollbar-thumb {
	background-color: rgba(255,255,255,0.2);
	border-radius: 2px;
}
#nav a {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 500
}
#nav i {
	margin-left: 8px;
	margin-right: 8px;
}

/* Controles bajo el nombre de usuario: bandera de idioma + cerrar sesión.
   Dos botones cuadrados IDÉNTICOS de 30×30 con el contenido centrado (el
   selector del logout lleva ID para ganar al display:inline-block de #sidebar a). */
.sb-user-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 6px;
}
.sb-user-controls .lang-switcher {
	margin-bottom: 0;
}
.sb-user-controls .lang-switcher-btn,
#sidebar .sb-user-controls .sb-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	box-sizing: border-box;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1;
	opacity: 0.85;
	transition: background-color 0.2s, opacity 0.2s;
}
.sb-user-controls .lang-switcher-btn:hover,
#sidebar .sb-user-controls .sb-icon-btn:hover {
	background-color: rgba(255, 255, 255, 0.12);
	opacity: 1;
}
/* Arriba del sidebar el popup abre hacia ABAJO, centrado bajo la bandera
   (el selector original del pie abría hacia arriba a todo el ancho) */
.sb-user-controls .lang-switcher-dropdown {
	top: calc(100% + 6px);
	bottom: auto;
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	min-width: 170px;
}

/* Tooltip ligero por CSS (la app de usuarios no carga Bootstrap): burbuja
   bajo el elemento con el texto de data-sb-tooltip */
[data-sb-tooltip] {
	position: relative;
}
[data-sb-tooltip]:hover::before,
[data-sb-tooltip]:focus-visible::before {
	content: attr(data-sb-tooltip);
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(25, 28, 38, 0.95);
	color: #FFF;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	padding: 6px 9px;
	border-radius: 4px;
	z-index: 300;
	pointer-events: none;
}

/* Language Switcher (sidebar) */
.lang-switcher {
	position: relative;
	margin-bottom: 10px;
}
.lang-switcher-btn {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	font-size: 14px;
	width: 100%;
	text-align: left;
	transition: border-color 0.2s;
}
.lang-switcher-btn:hover {
	border-color: rgba(255,255,255,0.6);
}
/* Las banderas son iconos CUADRADOS de 24×24: sin recortes (contain) */
.lang-switcher-btn img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
}
.lang-switcher-btn .lang-name {
	flex: 1;
}
.lang-switcher-btn .fa-chevron-down {
	font-size: 11px;
	opacity: 0.6;
	transition: transform 0.2s;
}
.lang-switcher.open .lang-switcher-btn .fa-chevron-down {
	transform: rotate(180deg);
}
.lang-switcher-dropdown {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 0;
	right: 0;
	background: rgba(25,28,38,0.98);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 6px;
	overflow: hidden;
	z-index: 200;
	box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.lang-switcher.open .lang-switcher-dropdown {
	display: block;
}
#sidebar .lang-switcher-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: rgba(255,255,255,0.8);
	font-size: 14px;
	text-decoration: none;
	transition: background 0.15s;
	margin: 0;
}
#sidebar .lang-switcher-dropdown a:hover {
	background: rgba(255,255,255,0.08);
	color: #fff;
}
#sidebar .lang-switcher-dropdown a.active {
	color: #fff;
	font-weight: 600;
}
#sidebar .lang-switcher-dropdown a img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
}
#sidebar .lang-switcher-dropdown a::after {
	display: none !important;
}

/* Sidebar footer pages */
#sb-footer .sb-pages {
	list-style: none;
	padding: 0;
	margin: 0;
}
#sb-footer .sb-pages li {
	margin: 0;
	line-height: 1.3;
}
#sb-footer .sb-pages a {
	font-size: 11px;
	color: rgba(255,255,255,0.35);
	text-decoration: none;
}
#sb-footer .sb-pages a:hover {
	color: rgba(255,255,255,0.65);
}
#sb-footer .sb-pages a::after {
	display: none !important;
}

/* Container */
#container {
	margin-left: 280px;
	box-sizing: border-box;
	transition: all .3s ease-in-out
}

/* Header */
#header {
	margin: 20px 50px 40px;
	padding-bottom: 20px;
	border-bottom: 2px solid #EEE
}
#header ul {
	display: flex; 
    justify-content: space-between;
	align-items: flex-end
}
#header li:first-child a {
	margin-right: 20px;
	font-weight: 500;
	color: #555
}
#header li:first-child a::after {
	background-color: #777
}
#header li:first-child i {
	margin-right: 5px;
	font-size: 12px;
	color: #221D3D
}
#header li:first-child::after {
	content: inherit
}
#header li:last-child a {
	margin-left: 10px
}

/* Content */
#content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding: 0 50px 20px;
	min-height: 200px
}
#content section {
	margin: 0 auto;
	width: 100%;
	max-width: 1300px
}
#content section > h3 {
	text-align: center
}
#content .inner-content {
	margin: 20px auto;
	padding: 40px;
	width: 100%;
	box-sizing: border-box;
	background-color: #FFF;
	border-top: 4px solid #221D3D;
	border-radius: 5px;
	border-collapse: collapse;
	box-shadow: 0 0 2px 1px rgba(61,70,79,.05), 0 1px 2px 0 rgba(61,70,79,.10)
}

/* Footer */
#footer {
	padding-top: 40px
}

/* App download banner (dismissible, device-aware). Rendered server-side (PHP
   decides visibility + which store badge by User-Agent). Uses the official
   App Store / Google Play badges (black), so the card is light to give them
   contrast. Two variants share the markup: .app-dl-top (wide, chats header) and
   .app-dl-sidebar (compact, sidebar footer — a light card on the dark sidebar). */
#app-download-banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 14px 44px 14px 16px;
	border: 1px solid #e2e0ec;
	border-radius: 12px;
	background: #fff;
	color: #221D3D;
	box-shadow: 0 4px 18px #221d3d14
}
.app-dl-body {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.35em
}
.app-dl-title {
	font-weight: 700;
	font-size: 1.02em;
	color: #221D3D
}
.app-dl-text {
	margin-top: 2px;
	font-size: .9em;
	color: #6b6685
}
.app-dl-actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px
}
.app-dl-badge {
	display: inline-flex;
	transition: opacity .15s ease
}
.app-dl-badge:hover {
	opacity: .82
}
.app-dl-badge img {
	display: block;
	height: 40px;
	width: auto
}
.app-dl-close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: .95em;
	color: #9a95b0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease
}
.app-dl-close:hover {
	background: #0000000d;
	color: #221D3D
}

/* Compact variant: pie del sidebar (encima del selector de idioma). Tarjeta
   blanca sobre el sidebar morado; icono + texto arriba, badges apilados. */
#app-download-banner.app-dl-sidebar {
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 0 0 16px;
	padding: 12px 12px 12px;
	box-shadow: none
}
.app-dl-sidebar .app-dl-body {
	flex: 1 1 100%;
	padding-right: 26px;
	box-sizing: border-box
}
.app-dl-sidebar .app-dl-title {
	font-size: .9em
}
.app-dl-sidebar .app-dl-text {
	font-size: .8em
}
.app-dl-sidebar .app-dl-actions {
	flex: 1 1 100%;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px
}
.app-dl-sidebar .app-dl-badge img {
	height: 32px
}

/* Wide variant on small screens: icon + text on top, badges wrap below. */
@media (max-width: 640px) {
	#app-download-banner.app-dl-top {
		flex-wrap: wrap;
		gap: 12px
	}
	.app-dl-top .app-dl-body {
		flex: 1 1 100%
	}
	.app-dl-top .app-dl-actions {
		flex: 1 1 100%
	}
}

/* Login page */
#page-login,
#page-sign-in,
#page-forgot-password,
#page-reset-password,
#page-mandatory-update-profile,
body.auth-page {
	min-height: 100vh;
	min-height: 100dvh;
	/* fixed: con el zoom .9 del <html> el degradado se cortaba al 90 % de la pantalla */
	background: #261F48 linear-gradient(135deg, #332C5C 10%, #221D3D 90%) fixed
}
#page-login h1,
#page-sign-in h1,
#page-forgot-password h1,
#page-reset-password h1 {
	margin-bottom: 20px
}
#page-login em,
#page-sign-in em,
#page-forgot-password em,
#page-reset-password em {
	display: block;
	margin-bottom: 10px;
	font-weight: 500;
	font-style: normal
}
#page-login em a,
#page-sign-in em a,
#page-forgot-password em a,
#page-reset-password em a {
	margin-left: 2px;
	padding-bottom: 1px;
	border-bottom: 2px solid
}
#login-container {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%,-40%);
	padding: 0 30px;
	width: 100%;
	max-width: 500px;
	box-sizing: border-box
}
#login-form {
	position: relative;
	padding: 30px 40px 20px;
	background-color: #FFF;
	border-radius: 5px;
	box-shadow: 0 5px 9px rgba(0, 0, 0, .2)
}
#login-form b {
	white-space: nowrap
}

/* Auth pages (pages/auth-open.inc.php): login, alta, perfil obligatorio y paginas legales
   sin sesion. Cabecera de la tarjeta = titulo + selector de idioma compacto (la fila de
   banderas, con 7 idiomas, se montaba encima del titulo). */
#login-form .auth-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px
}
#login-form .auth-head h1 {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere
}
.lang-switcher.lang-switcher-light {
	flex-shrink: 0;
	margin-bottom: 0
}
.lang-switcher-light .lang-switcher-btn {
	width: auto;
	padding: 7px 10px;
	background: #FFF;
	border: 1px solid #E3E0EE;
	color: #221D3D;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500
}
.lang-switcher-light .lang-switcher-btn:hover,
.lang-switcher-light.open .lang-switcher-btn {
	border-color: #332C5C
}
.lang-switcher-light .lang-switcher-btn .lang-iso {
	display: none
}
.lang-switcher-light .lang-switcher-dropdown {
	top: calc(100% + 6px);
	bottom: auto;
	left: auto;
	right: 0;
	min-width: 190px;
	background: #FFF;
	border: 1px solid #E3E0EE;
	box-shadow: 0 8px 24px rgba(34, 29, 61, .18)
}
.lang-switcher-light .lang-switcher-dropdown a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	color: #221D3D;
	font-size: 14px;
	white-space: nowrap
}
.lang-switcher-light .lang-switcher-dropdown a::after {
	content: none
}
.lang-switcher-light .lang-switcher-dropdown a:hover {
	background: #F4F2FA
}
.lang-switcher-light .lang-switcher-dropdown a.active {
	background: #EFECF8;
	font-weight: 600
}
.lang-switcher-light .lang-switcher-dropdown img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0
}
.auth-back {
	margin-top: 30px;
	text-align: center
}
.auth-back a {
	color: #FFF
}
.auth-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	margin: 18px 0 30px;
	font-size: 13px;
	color: rgba(255, 255, 255, .45)
}
.auth-legal a {
	color: rgba(255, 255, 255, .75)
}
.auth-legal a::after {
	background-color: #FFF
}
.auth-legal a:hover {
	color: #FFF
}

/* Formularios largos (alta, perfil obligatorio) y paginas legales: tarjeta ancha en el
   flujo normal (no centrada en vertical) y dos columnas en escritorio. */
#login-container.auth-wide,
#login-container.auth-doc {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
	max-width: 900px;
	margin: 35px auto 0
}
#login-container.auth-doc {
	max-width: 960px
}
#login-container.auth-wide #login-form,
#login-container.auth-doc #login-form {
	padding: 36px 48px 30px
}
#login-form .form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px
}
#login-form .form-grid > li.span-2 {
	grid-column: 1 / -1
}
#login-form .iti {
	display: block;
	width: 100%
}
#login-form .field-invalid {
	border-bottom-color: #F86142 !important
}
#login-form .field-error-msg {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	font-weight: 500;
	color: #F86142
}
#login-form .field-hint {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.4;
	color: #7A7A7A
}
#login-form .auth-consents {
	margin-top: 10px
}
#login-form .auth-consents > li {
	margin-bottom: 0
}
#login-form .auth-consents .input-checkbox {
	margin: 14px 0
}

/* Pasos (js/auth-forms.js): indicador + botones Atras / Continuar */
#login-form .form-steps-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 26px 0 0
}
#login-form .form-step-item {
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: .45;
	transition: opacity .3s
}
#login-form .form-step-item.active,
#login-form .form-step-item.done {
	opacity: 1
}
#login-form .form-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #D0C8E8;
	color: #332C5C;
	font-size: 13px;
	font-weight: 700;
	transition: background .3s, color .3s
}
#login-form .form-step-item.active .form-step-num {
	background: #332C5C;
	color: #FFF
}
#login-form .form-step-item.done .form-step-num {
	background: #4CAF50;
	color: #FFF
}
#login-form .form-step-lbl {
	font-size: 13px;
	font-weight: 600;
	color: #332C5C;
	white-space: nowrap
}
#login-form .form-step-sep {
	flex: 1;
	min-width: 30px;
	max-width: 70px;
	height: 2px;
	margin: 0 14px;
	background: #D0C8E8
}
#login-form .form-step[hidden] {
	display: none
}
#login-form .form-step-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 6px
}
#login-form .form-step-actions .btn-lg {
	min-width: 220px;
	margin-top: 0
}
#login-form .aligner-brands-block + .form-step-actions {
	margin-top: 24px
}
#login-form .form-step-back {
	flex-shrink: 0;
	margin-right: auto;
	padding: 13px 25px;
	background: none;
	border: 2px solid #D0C8E8;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: #332C5C;
	cursor: pointer;
	transition: border-color .2s
}
#login-form .form-step-back:hover {
	border-color: #332C5C
}

/* Paginas legales (CMS) sin sesion */
#login-form .cms-content {
	font-size: 15px;
	line-height: 1.65;
	color: #444;
	overflow-wrap: anywhere
}
#login-form .cms-content h2,
#login-form .cms-content h3,
#login-form .cms-content h4 {
	margin: 28px 0 12px;
	line-height: 1.3
}
#login-form .cms-content ul,
#login-form .cms-content ol {
	margin: 0 0 20px;
	padding-left: 22px
}
#login-form .cms-content li {
	margin-bottom: 6px;
	list-style: disc
}
#login-form .cms-content ol li {
	list-style: decimal
}
#login-form .cms-content table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
	font-size: 14px
}
#login-form .cms-content th,
#login-form .cms-content td {
	padding: 8px;
	border: 1px solid #EEE;
	text-align: left;
	vertical-align: top
}

/* Aligner brands: inline credentials under each selected brand */
#page-sign-in .aligner-brands-block,
#page-mandatory-update-profile .aligner-brands-block {
	margin-top: 4px
}
#page-sign-in .aligner-brands-block h3,
#page-mandatory-update-profile .aligner-brands-block h3 {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 1.35
}
#page-sign-in .aligner-brands-note,
#page-mandatory-update-profile .aligner-brands-note {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.4;
	color: #7a7a7a
}
#page-sign-in ul#alignerBrands,
#page-mandatory-update-profile ul#alignerBrands {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 10px 32px;
	margin-top: 8px
}
#page-sign-in ul#alignerBrands > li,
#page-mandatory-update-profile ul#alignerBrands > li {
	margin-bottom: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #efefef
}
#page-sign-in .aligner-brand-option,
#page-mandatory-update-profile .aligner-brand-option {
	display: flex;
	align-items: center;
	column-gap: 10px
}
#page-sign-in .aligner-brand-option label,
#page-mandatory-update-profile .aligner-brand-option label {
	display: inline-block;
	margin: 0;
	width: auto;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	cursor: pointer
}
#page-sign-in .aligner-brand-credentials-fields,
#page-mandatory-update-profile .aligner-brand-credentials-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
	margin-left: 26px
}
#page-sign-in .aligner-brand-credentials-fields input,
#page-mandatory-update-profile .aligner-brand-credentials-fields input {
	margin: 0
}
#page-sign-in ul#alignerBrandsData,
#page-mandatory-update-profile ul#alignerBrandsData {
	display: none
}
#page-sign-in .aligner-brand-invalid,
#page-mandatory-update-profile .aligner-brand-invalid {
	border-bottom-color: #d32f2f !important
}

/* Marca un campo/bloque como opcional. Nació en la actualización obligatoria de
   perfil, pero lo usan también el registro y "editar perfil" (fecha de nacimiento
   y género), así que la regla es global y no va scopeada a una página. */
.badge-optional {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 10px;
	background: #f0edf8;
	border: 1px solid #d0c8e8;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #7a6fa8;
	text-transform: uppercase;
	letter-spacing: .5px;
	vertical-align: middle
}
/* Dani GIF + bubble - mandatory update profile */
#page-mandatory-update-profile #dani-gif {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 10
}
#page-mandatory-update-profile #dani-gif img {
	display: block;
	max-width: 220px;
	height: auto;
	width: auto;
	margin-bottom: 0
}
#page-mandatory-update-profile #dani-bubble {
	position: absolute;
	bottom: 200px;
	left: 190px;
	background: white;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
	color: #333;
	max-width: 250px;
	min-width: 200px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	white-space: normal
}
#page-mandatory-update-profile #dani-bubble::after {
	content: '';
	position: absolute;
	left: -8px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 0 solid transparent;
	border-top: 8px solid white
}
/* Con la tarjeta ancha, Dani solo cabe a su lado en pantallas grandes: ahi el texto va en
   su bocadillo; por debajo, Dani se oculta y el texto sale en la tarjeta (.mup-help). */
#page-mandatory-update-profile .mup-help {
	margin-bottom: 0
}
@media (min-width: 1600px) {
	#page-mandatory-update-profile .mup-help {
		display: none
	}
}
@media (max-width: 1599px) {
	#page-mandatory-update-profile #dani-gif {
		display: none
	}
}

/* Error 404 page */
#error404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	padding: 40px 20px;
	background: linear-gradient(135deg, #221D3D 0%, #2e2756 60%, #1a1530 100%);
	box-sizing: border-box;
}
.error404-inner {
	text-align: center;
	max-width: 540px;
	width: 100%;
}
.error404-logo {
	display: inline-block;
	margin-bottom: 48px;
}
.error404-logo img {
	height: 48px;
	width: auto;
}
.error404-code {
	font-size: 140px;
	font-weight: 800;
	line-height: 1;
	color: #63BEBF;
	letter-spacing: -4px;
	margin-bottom: 16px;
	text-shadow: 0 4px 40px rgba(99,190,191,0.25);
}
.error404-title {
	font-size: 28px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 16px;
}
.error404-desc {
	font-size: 16px;
	color: rgba(255,255,255,0.65);
	margin: 0 0 40px;
	line-height: 1.6;
}
.error404-btn {
	display: inline-block;
	background-color: #F86142;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 36px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease;
}
.error404-btn:hover {
	background-color: #e04e30;
	transform: translateY(-2px);
	color: #FFFFFF;
	text-decoration: none;
}
@media (max-width: 480px) {
	.error404-code  { font-size: 100px; }
	.error404-title { font-size: 22px; }
}

/* Profile page (Cases) / Billing page */
#page-cases #content section,
#page-billing #content section {
	max-width: none
}
#page-cases .inner-content,
#page-billing .inner-content {
	padding: 30px 40px
}
#page-cases #cases ul li:first-child {
	text-align: left
}#page-cases #cases ul li:nth-last-child(1),
#page-billing #orders ul li:nth-last-child(1) {
	text-align: right
}
#page-cases #cases ul li,
#page-billing #orders ul li:nth-last-child(2) {
	text-align: center
}

.attached-file label {
	display: block !important;
	margin-top: 30px
}
.attached-file a {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #221D3D;
	border-radius: 30px;
	transition: all linear .2s
}
.attached-file a:hover {
	background-color: #221D3D;
	color: #FFF
}
.attached-file a::after {
	display: none
}

/* Edit profile page */
#page-edit-profile h3 {
	margin: 30px 0 0
}
#page-edit-profile h3:first-of-type {
	margin: 0
}
#page-edit-profile #avatar {
	display: flex;
	align-items: center;
	column-gap: 40px
}
#page-edit-profile #avatar img {
	object-fit: cover;
	object-position: top;
	filter: brightness(96%);
	border-radius: 20px
}

#page-edit-profile ul#alignerBrands,
#page-edit-profile ul#alignerBrandsData,
#page-edit-profile ul#alignerBrandsData div {
	display: flex;
	flex-wrap: wrap;
	gap: 20px
}
#page-edit-profile ul#alignerBrands {
	margin-bottom: 30px
}
#page-edit-profile ul#alignerBrands li {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	column-gap: 8px;
	margin-bottom: 0 !important
}
#page-edit-profile ul#alignerBrands li label {
	margin: 0;
	width: auto
}
#page-edit-profile ul#alignerBrandsData div {
	flex-direction: column;
	gap: 5px;
	box-sizing: border-box
}
#page-edit-profile ul#alignerBrandsData h5 {
	margin: 0;
	padding: 8px 10px;
	background-color: #221D3D;
	font-size: 1em;
	font-weight: 500;
	color: #FFF
}
#page-edit-profile ul#alignerBrandsData input {
	margin: 0
}
@media only screen and (max-width: 799px) {
	#page-edit-profile ul#alignerBrands,
	#page-edit-profile ul#alignerBrandsData {
		flex-direction: column
	}
	#page-edit-profile ul#alignerBrands {
		gap: 10px
	}
	#page-edit-profile ul#alignerBrandsData div,
	#page-edit-profile ul#alignerBrandsData div input {
		width: 100% !important
	}
}

/* Services page */
#page-services h1 .circle-nb {
	margin-left: 2px
}
#page-services section {
	max-width: 1400px
}
#page-services #content {
	padding: 0 35px 30px
}
#page-services #content h6 {
	margin-bottom: 10px
}
#page-services .col3 li {
	position: relative;
	margin-bottom: 30px;
	padding: 30px;
	background-color: #FFF;
	border-top: 4px solid #221D3D;
	border-radius: 5px;
	border-collapse: collapse;
	box-shadow: 0 0 0 1px rgba(61,70,79,.05), 0 1px 1px 0 rgba(61,70,79,.10);
	text-align: center
}
#page-services h1 {
	margin-left: 15px
}
#page-services .service h2 {
	margin-bottom: 8px;
	font-size: 19px;
	text-transform: uppercase
}
#page-services .service .price {
	margin: 10px 0 -5px;
	font-size: 26px;
	font-weight: 600;
	color: #221D3D
}
#page-services .service .btn {
	margin: 20px 0 30px
}
#page-services .service-content {
	padding-top: 25px;
	border-top: 2px solid #EEE;
	text-align: left
}
#page-services .service-content i {
	margin: 0 10px 10px 0;
	font-size: 1.1em
}
#page-services .service-content h4 {
	font-size: 16px
}

/* Order page */
#page-order h4,
#page-order h5 {
	margin-bottom: 25px
}
#order-address {
	width: calc(58% - 15px)
}
#order-resume {
	width: calc(42% - 15px)
}
#page-order fieldset {
	border-radius: 5px
}
#page-order .inner-content {
	margin-top: 0;
	padding: 0;
	min-height: 690px
}
#page-order #order-resume .inner-content {
	background-color: #F2F9FF
}
#page-order fieldset {
	padding: 30px 40px;
}
#page-order .service ul:first-of-type {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #EEE
}
#page-order .service ul:last-of-type li:last-child {
	font-size: 20px;
	font-weight: bold;
	color: #221D3D
}
#page-order .service ul li {
	margin-bottom: 5px
}
#page-order .service ul li:last-child {
	width: 40%;
	font-size: 16px;
	font-weight: 600;
	text-align: right
}
#page-order #RGPD {
	margin-top: 15px;
	padding: 15px 0;
	border-top: 2px solid #EEE;
	border-bottom: 2px solid #EEE;
	font-size: 10px;
	text-align: justify;
	color: #666
}
#page-order #payment {
	background-color: transparent
}
#page-order #payment-method input[type="radio"] {
	margin-right: 10px
}
#page-order #payment-method label {
	font-size: 14px;
	font-weight: bold
}
#page-order #payment-method label img {
	float: right;
	margin: 5px 0
}

/* Order success page */
#page-order-success section {
	margin-top: 100px;
	text-align: center
}
#page-order-success section i.result {
	margin-bottom: 30px;
	font-size: 160px
}
#page-order-success section h1 {
	margin-bottom: 0
}
#page-order-success section h6 {
	margin: 15px auto 30px;
	max-width: 550px
}
#payment-method-info {
	margin: 30px auto;
	padding: 30px 20px;
	width: 100%;
	max-width: 500px;
	background-color: #FFF;
	border: 1px solid #DDD;
	border-top: 4px solid #221D3D;
	border-radius: 5px;
	text-align: left
}

/* Attach info page */
#page-attach-data #ids-data h2 {
	margin-bottom: 30px
}
#page-attach-data section {
	max-width: 1400px
}
#page-attach-data fieldset {
	padding-top: 15px;
	background-color: transparent
}
#page-attach-data progress {
	display: none;
	margin-top: 5px;
	width: 100%
}
#page-attach-data #ids-data,
#page-attach-data #case-type {
	padding: 30px 30px 10px;
	border: 2px solid #EEE
}
#page-attach-data #RGPD {
	margin-top: -10px;
	font-size: 12px;
	text-align: justify;
	color: #666
}
#page-attach-data #send-case {
	margin-top: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 100%;
	max-width: 400px
}

/* View case page — el grueso del modulo vive en css/cases.css (rediseño 2026-09-10).
   Aqui solo quedan los retoques que siguen aplicando al formulario de la ficha. */
#page-view-case input,
#page-view-case select {
	max-width: 350px
}

/* Webinars */
.col3.webinars h6 {
	margin: 10px 0 30px;
	font-size: 13px
}

/* SweetAlert 2 */
.swal2-html-container {
	font-size: 1em !important
}
.swal2-title {
	margin-bottom: 0 !important;
	font-size: 1.7em !important;
	font-weight: bold !important
}
.swal2-actions .btn-md {
	margin: 0 6px
}	

/* Responsive: medium desktop */
@media only screen and (max-width: 1450px)
{
	#page-billing #orders ul.table-head li:nth-child(1) {
		width: 25%
	}
	#page-billing #orders ul.table-head li:nth-child(2) {
		width: 50%;
		text-align: left
	}
	#page-billing #orders ul.table-head li:nth-child(3) {
		width: 25%;
		text-align: right
	}
	#page-billing #orders ul.table-head li:nth-child(4),
	#page-billing #orders ul.table-head li:nth-child(5) {
		display: none
	}
	#page-billing #orders ul.table-row li:nth-child(1) {
		margin-bottom: 25px;
		width: 25%
	}
	#page-billing #orders ul.table-row li:nth-child(2) {
		margin-bottom: 25px;
		width: 50%
	}
	#page-billing #orders ul.table-row li:nth-child(3) {
		margin-bottom: 25px;
		width: 25%;
		text-align: right
	}
	#page-billing #orders ul.table-row li:nth-child(4) {
		width: 50%;
		text-align: left
	}
	#page-billing #orders ul.table-row li:nth-child(5) {
		width: 50%
	}
	
	#page-services .col3 li {
		width: calc(50% - 10px)
	}
	
	#page-order .col2 #order-address,
	#page-order .col2 #order-resume {
		width: 100%
	}
	#page-order .inner-content {
		min-height: inherit
	}
	
	#form-attach-data .col2 > li {
		width: 100%
	}
}

/* Responsive: tablet/mobile */
@media only screen and (max-width: 1024px)
{
	.show-mobile { display: inherit }
	.hide-mobile { display: none }
	
	h1 {
		margin-bottom: 25px;
		font-size: 26px
	}
	h2 {
		font-size: 22px
	}
	h6 {
		font-size: 15px
	}
	
	h1 .circle-nb,
	h2 .circle-nb {
		margin: 0 24px 0 18px
	}
	h1 .circle-nb {
		margin-left: 14px
	}
	h1 .circle-nb::before,
	h2 .circle-nb::before {
		width: 42px;
		height: 42px
	}
	
	.marginBottom {
		margin-bottom: 40px
	}
	
	#sidebar {
		left: -100%;
		z-index: 9999;
		padding: 50px 20px 15px;
		box-shadow: 3px 0 15px rgba(0,0,0,.2)
	}
	#container {
		margin-left: 0;
		min-width: inherit
	}
	#header {
		margin: 15px 20px 25px;
		padding-bottom: 15px
	}
	#content {
		padding: 0 20px 20px
	}
	
	#mobile-menu {
		position: relative;
		display: block;
		width: 53px;
		height: 53px;
		background-color: #555;
		border-radius: 50%
	}
	#mobile-menu::after, #close-menu::after {
		display: none
	}
	#mobile-menu i {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		font-size: 22px;
		color: #FFF
	}
	a#close-menu {
		position: absolute;
		top: 15px;
		right: 15px
	}
	#close-menu i {
		font-size: 24px;
		color: #FFF
	}
	
	#page-services #content {
	  padding: 0 20px 30px
	}
	
	#page-cases #cases ul.table-row {
		align-items: flex-start
	}
	#page-cases #cases ul.table-head li:nth-child(2),
	#page-cases #cases ul.table-head li:nth-child(3) {
		display: none
	}
	#page-cases #cases ul li:nth-child(1) {
		width: 40%
	}
	#page-cases #cases ul li:nth-child(2) {
		width: 60%;
		text-align: right
	}
	#page-cases #cases ul li:nth-child(3) {
		margin-top: 15px;
		width: 100%
	}
	
	#page-attach-data h2 {
		margin: 0
	}
	
	#page-view-case .inner-content > ul {
		padding: 0 0 20px;
		border: none;
		border-bottom: 2px solid #EEE
	}
	#page-view-case .inner-content > ul:last-child {
		padding: 0;
		border-bottom: none
	}
}

/* Responsive: tablet/mobile */
@media only screen and (max-width: 880px)
{
	#page-attach-data .inner-content .col2 > li,
	#page-attach-data .inner-content .col3 > li,
	.col3.webinars li {
		width: 100%
	}
	
	#page-view-case h2 {
		margin-bottom: 20px
	}
	#page-view-case #approve-case {
		width: 100%
	}
}

/* Responsive: mobile */
@media only screen and (max-width: 768px)
{
	#mobile-menu {
		width: 48px;
		height: 48px
	}
	
	h1 {
		font-size: 24px
	}
	h2 {
		font-size: 20px
	}
	h5 {
		font-size: 17px
	}
	
	.btn-xs {
		padding: 3px 15px
	}
	.btn-sm {
		padding: 7px 15px
	}
	.btn-md {
		padding: 10px 20px
	}
	.btn-lg {
		padding: 12px 20px
	}
	.btn-xl {
		padding: 14px 30px
	}
	
	ul.table-head, ul.table-row {
		margin-bottom: 20px
	}
	
	#content .inner-content, #login-form {
		padding: 20px !important
	}
	
	#login-container {
		padding: 0 20px
	}
	#login-container.auth-wide,
	#login-container.auth-doc {
		margin: max(12px, env(safe-area-inset-top)) auto 0
	}
	#login-form .form-grid,
	#page-sign-in ul#alignerBrands,
	#page-mandatory-update-profile ul#alignerBrands {
		grid-template-columns: 1fr
	}
	#page-sign-in .aligner-brand-credentials-fields,
	#page-mandatory-update-profile .aligner-brand-credentials-fields {
		grid-template-columns: 1fr;
		margin-left: 0
	}
	.lang-switcher-light .lang-switcher-btn .lang-name {
		display: none
	}
	.lang-switcher-light .lang-switcher-btn .lang-iso {
		display: inline
	}
	#login-form .form-step-item:not(.active) .form-step-lbl {
		display: none
	}
	#login-form .form-step-sep {
		min-width: 14px;
		margin: 0 8px
	}
	#login-form .form-step-actions .btn-lg {
		flex: 1;
		min-width: 0
	}
	#login-form .form-step-back {
		padding: 13px 16px
	}
	.input-checkbox label {
		font-size: 13px
	}
	
	
	#page-edit-profile .inner-content ul li {
		width: 100% !important
	}
	#page-edit-profile #avatar {
		flex-direction: column;
		row-gap: 10px
	}
	
	#page-services .col3 li {
		padding: 20px;
		width: 100%
	}
	
	#page-order .inner-content {
		margin-bottom: 10px;
		padding: 0 !important
	}
	#page-order fieldset {
	  padding: 30px 20px;
	}
	
	#page-billing #orders ul.table-head li {
		display: none
	}
	#page-billing #orders ul.table-head li:nth-child(1) {
		display: inherit
	}
	#page-billing #orders ul.table-row {
		align-items: flex-start
	}
	#page-billing #orders ul.table-row li:nth-child(1) {
		margin-bottom: 15px;
		width: 50%;
		order: 1
	}
	#page-billing #orders ul.table-row li:nth-child(2) {
		margin-bottom: 25px;
		width: 60%;
		order: 3
	}
}

/* Case stats cards */
.case-stats {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.case-stat-card {
	flex: 1;
	min-width: 120px;
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	padding: 12px 16px;
	text-align: center;
	border-top: 3px solid #ccc;
}
.case-stat-card .stat-count {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 5px;
}
.case-stat-card .stat-label {
	font-size: 11px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.case-stat-card.stat-rev   { border-top-color: #0082CE; }
.case-stat-card.stat-rev   .stat-count { color: #0082CE; }
.case-stat-card.stat-group { border-top-color: #4BB4B5; }
.case-stat-card.stat-group .stat-count { color: #4BB4B5; }
.case-stat-card.stat-full  { border-top-color: #5DADE2; }
.case-stat-card.stat-full  .stat-count { color: #5DADE2; }
.case-stat-card.stat-diag  { border-top-color: #E67E22; }
.case-stat-card.stat-diag  .stat-count { color: #E67E22; }

@media (max-width: 600px) {
	.case-stat-card {
		min-width: calc(50% - 10px);
	}
	#page-billing #orders ul.table-row li:nth-child(3) {
		margin-bottom: 25px;
		width: 40%;
		text-align: right;
		order: 4
	}
	#page-billing #orders ul.table-row li:nth-child(4) {
		margin-bottom: 15px;
		width: 50%;
		text-align: right;
		order: 2
	}
	#page-billing #orders ul.table-row li:nth-child(5) {
		width: 100%;
		order: 5
	}
	
	
	#page-attach-data #ids-data {
		padding: 20px 20px 0
	}
	#page-attach-data #ids-data h2 {
		margin-bottom: 5px
	}
}

/* Responsive: mobile */
@media only screen and (max-width: 500px)
{
	#page-attach-data .circle-nb {
		display: none
	}
}

/* ===== Pre-booked cases (data pending) ===== */
.btn-prebooked-fill {
	animation: prebookedPulse 1.6s ease-in-out infinite;
}
@keyframes prebookedPulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 120, 19, 0.55); }
	70%  { box-shadow: 0 0 0 8px rgba(255, 120, 19, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 120, 19, 0); }
}
.prebooked-note {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	max-width: 280px;
	font-size: 12px;
	line-height: 1.35;
	color: #b25b00;
	cursor: help;
}
.prebooked-note i {
	flex: 0 0 auto;
}
.prebooked-note__tooltip {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	z-index: 20;
	width: 260px;
	padding: 10px 12px;
	background: #333;
	color: #fff;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.4;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}
.prebooked-note:hover .prebooked-note__tooltip,
.prebooked-note:focus-within .prebooked-note__tooltip {
	opacity: 1;
	visibility: visible;
}
/* ============================================================
   DIRECCIONES DEL USUARIO (edit-profile.php)
   Lista de tarjetas + modal propio. Ver doc/modules/Addresses.md
   ============================================================ */

.addr-intro {
	margin: 0 0 18px;
	color: #777;
	font-size: .95em;
}

.addr-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.addr-loading,
.addr-empty {
	width: 100%;
	padding: 16px 0;
	color: #999;
}

.addr-card {
	flex: 1 1 320px;
	min-width: 0;
	padding: 16px;
	box-sizing: border-box;
	border: 1px solid #E3E3E3;
	border-radius: 6px;
	background: #FFF;
}

.addr-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.addr-card-head strong {
	font-size: 1.05em;
}

.addr-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.addr-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: .78em;
	line-height: 1.6;
	white-space: nowrap;
}

.addr-badge-billing  { background: #E3F2FD; color: #1565C0; }
.addr-badge-shipping { background: #E0F7FA; color: #00838F; }
.addr-badge-locked   { background: #F5F5F5; color: #757575; }

.addr-card-body {
	color: #555;
	font-size: .95em;
	line-height: 1.5;
	word-wrap: break-word;
}

.addr-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
	color: #888;
	font-size: .88em;
}

.addr-card-meta i { margin-right: 4px; }

.addr-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #F0F0F0;
}

.addr-action {
	padding: 5px 10px;
	border: 1px solid #DDD;
	border-radius: 4px;
	background: #FFF;
	color: #555;
	font-size: .85em;
	cursor: pointer;
}

.addr-action:hover  { border-color: #26C6DA; color: #26C6DA; }
.addr-action i      { margin-right: 4px; }
.addr-action:disabled { opacity: .5; cursor: default; }
.addr-action-danger:hover { border-color: #E53935; color: #E53935; }

/* ---- Modal ---- */

.addr-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
	background: rgba(0, 0, 0, .45);
}

.addr-modal-backdrop[hidden] { display: none; }

.addr-modal {
	width: 100%;
	max-width: 720px;
	border-radius: 8px;
	background: #FFF;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.addr-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #EEE;
}

.addr-modal-head h2 {
	margin: 0;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.addr-modal-head h2 i { color: #26C6DA; }

.addr-modal-close {
	padding: 4px;
	border: none;
	background: transparent;
	color: #999;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.addr-modal-close:hover { color: #333; }

.addr-modal-body { padding: 20px; }

.addr-modal-body ul.col2 { margin: 0; }

/* Teléfono con intl-tel-input (SASPhone, js/phone-input.js): el div.iti inline debe
   ocupar la celda entera. */
.addr-modal .iti { display: block; width: 100%; }
/* En el móvil (o táctil) la lista de banderas es un popup a pantalla completa colgado de <body>
   (div.iti--container, z-index 1060 de la librería): tiene que quedar por encima de los modales
   de la app (el de direcciones va en 1200), o se abre detrás y no se puede tocar. */
.iti.iti--container { z-index: 20000; }

.addr-modal-foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #EEE;
}

.addr-modal-foot .btn-lg { margin: 0; }

.addr-defaults {
	margin: 16px 0 0;
	padding: 14px 0 0;
	list-style: none;
	border-top: 1px solid #F0F0F0;
}

.addr-defaults li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.addr-defaults label { width: auto; }

.addr-locked-notice {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 4px;
	background: #FFF8E1;
	color: #8D6E00;
	font-size: .9em;
}

.addr-locked-notice[hidden] { display: none; }

.addr-field-locked {
	background: #F7F7F7 !important;
	color: #888 !important;
	cursor: not-allowed;
}

@media (max-width: 640px) {
	.addr-card { flex: 1 1 100%; }
	.addr-modal-foot { flex-direction: column-reverse; }
	.addr-modal-foot .btn-lg { width: 100%; }
}

/* =========================================================================
   FORMAS DE CONTACTO (users_contacts) — sección de pages/edit-profile.php
   -------------------------------------------------------------------------
   Lista de filas (no tarjetas: son datos de una línea) con el mismo lenguaje
   visual que Addresses; el modal REUTILIZA las clases .addr-modal*.
   ========================================================================= */

.contact-list {
	margin-bottom: 20px;
}

.contact-row {
	padding: 12px 0;
	border-bottom: 1px solid #F0F0F0;
}

.contact-row-primary {
	background: #FAFCFD;
}

.contact-row-main {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.contact-icon i {
	width: 18px;
	color: #999;
	text-align: center;
}

.contact-icon .contact-star { color: #FFB300; }

.contact-value {
	font-size: 1.02em;
	word-break: break-word;
}

.contact-value a { color: #26C6DA; }

.contact-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: .72em;
	line-height: 1.7;
	white-space: nowrap;
	vertical-align: middle;
}

.contact-badge-primary { background: #FFF8E1; color: #A06E00; }
.contact-badge-pending { background: #FFF3E0; color: #B25A00; }
.contact-badge-issue   { background: #FFEBEE; color: #C62828; }

.contact-meta {
	margin: 2px 0 0 28px;
	color: #999;
	font-size: .86em;
}

.contact-newsletter {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0 28px;
}

.contact-newsletter label {
	width: auto;
	margin: 0;
	color: #888;
	font-size: .86em;
}

.contact-newsletter input[disabled] + label { opacity: .6; }

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0 28px;
}

.contact-empty,
.contact-hint {
	margin-top: 12px;
	color: #999;
	font-size: .88em;
}

.contact-hint i { color: #FFB300; }

/* Modal de contacto: más estrecho que el de direcciones (3 campos). */
.addr-modal-sm { max-width: 480px; }

@media (max-width: 640px) {
	.contact-actions { margin-left: 0; }
	.contact-meta,
	.contact-newsletter { margin-left: 0; }
}

/* Field help popover: shown by js/theme.js under any field with data-focus-help="…"
   while it has focus. It lives INSIDE the field's container (.sas-focus-anchor,
   position: relative) and is placed by CSS (top: 100%), so it always sits right
   below the input regardless of the html { zoom } above, the scroll or a resize. */
.sas-focus-anchor {
	position: relative;
}
.sas-focus-popover {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10050;
	display: none;
	box-sizing: border-box;
	width: max-content;
	max-width: 100%;
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 12px;
	line-height: 1.45;
	box-shadow: 0 10px 22px rgba(30, 58, 138, 0.18);
}
.sas-focus-popover::before,
.sas-focus-popover::after {
	content: '';
	position: absolute;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
}
.sas-focus-popover::before {
	top: -8px;
	border-bottom: 8px solid #bfdbfe;
}
.sas-focus-popover::after {
	top: -7px;
	border-bottom: 8px solid #eff6ff;
}
.sas-focus-popover.is-visible {
	display: block;
}

/* ============================================================
   Meta de un contenido (leccion, webinar, tutorial...)
   Bandera del idioma y ponentes, alineados en una misma linea.
   ============================================================ */
.content-flag {
	display: block;
	width: 22px;
	height: 16px;
	object-fit: contain;
}

.content-meta-side {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.content-meta-side .content-speakers {
	margin-top: 0;
	align-items: center;
}
