:root {
    /* Tu paleta de colores aplicada estratégicamente */
    --primary: #2262AD;
    --secondary: #009ECF;
    --teal: #43BAB9;
    --purple: #645FAA;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --black: #0F172A;
    /* Un negro azulado más elegante */
    --border: #E2E8F0;
}

html {
    overflow: hidden;
    height: 100%;
    touch-action: pan-x pan-y;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    /* background-image: linear-gradient(to right, #e7edf5 0, #f0fbff 100%); */
    background: linear-gradient(315deg, hsl(221deg 70% 35% / 50%), #ffffff);
    /* background: #24549329; */
    overflow: hidden;
    height: 100%;
    width: 100%;
    touch-action: pan-x pan-y;
}

/* --- LOADING CON DEGRADADO --- */
#loading-screen {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--teal);
    /* Uso de tus colores */
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- TARJETA PRINCIPAL --- */
.card {
    width: 90%;
    max-width: 520px;
    background: var(--white);
    border-radius: 32px;
    padding: 48px 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo-box img {
    width: 210px;
    height: auto;
}

/* --- BOTONES DE OPCIÓN (LISTA) --- */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.option-card {
    background: var(--white);
    border: 4px solid var(--border);
    border-radius: 20px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

/* Efecto al seleccionar con tus colores */
.option-card.active {
    border-color: transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(90deg, var(--primary), var(--teal)) border-box;
    border: 4px solid transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 98, 173, 0.1);
}

.option-card .circle {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.option-card.active .circle {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(34, 98, 173, 0.15);
}

.option-label {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--black);
}

/* --- BOTÓN DE ACCIÓN PRINCIPAL --- */
.btn-main {
    width: 100%;
    height: 60px;
    background: var(--black);
    /* El negro da el toque profesional */
    color: var(--white);
    border: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

.btn-main:hover {
    background: var(--primary);
    /* Cambia a tu azul al pasar el mouse */
    transform: translateY(-1px);
}

.btn-main:active {
    transform: scale(0.98);
}

.float{
	position:fixed;
	width:50px;
	height:50px;
	bottom:15px;
	right:15px;
	background-color:#0f172a;
	color:#FFF;
	border-radius:50px;
	text-align:center;
    font-size:20px;
	box-shadow: 2px 2px 3px #999;
    z-index:5;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
}

.my-float{
	margin-top:16px;
}

/* Paleta de colores basada en tu logo */
:root {
    --primary-blue: #1b4b82;
    --accent-teal: #49a8a1;
    --text-main: #2d3748;
}

/* Fondo con movimiento sutil */
/* Fondo con degradado tecnológico */
:root {
    --ocr-blue-solid: #2262AD;
    --ocr-teal: #43BAB9;
    --ocr-purple: #645FAA;
    --ocr-white: #FFFFFF;
}

/* Fondo adaptado con profundidad y los colores del logo */
:root {
    --ocr-blue: #2262AD;
    --ocr-teal: #43BAB9;
    --ocr-purple: #645FAA;
    --ocr-white: #FFFFFF;
}

.intro {
    /* Base perla con sutiles reflejos de tu paleta */
    /* background: 
        radial-gradient(circle at 10% 20%, rgba(67, 186, 185, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(100, 95, 170, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f3f4f7 50%, #e2e8f0 100%); */
    
    background-color: transparent;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* El título ahora debe ser oscuro para contrastar con el perla */
.display-5 {
    color: #1a202c; /* Un gris casi negro muy elegante */
    font-weight: 800;
    letter-spacing: -1px;
}

.text-white-50 {
    color: #718096 !important; /* Gris suave para la descripción */
}

/* Botón con el degradado de tu logo para que resalte sobre el fondo claro */
.button-glow {
    background: linear-gradient(135deg, var(--ocr-teal) 0%, var(--ocr-blue) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(34, 98, 173, 0.2);
}

.button-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 98, 173, 0.35) !important;
}

/* Sombra suave para el logo para que flote sobre el fondo perla */
.logo-shadow {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
    transition: all 0.4s ease;
}
.ocultar{
    display: none !important;
}



/***********/
@import url("https://fonts.googleapis.com/css?family=Exo:400,700");

* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Exo", sans-serif;
}
.context {
  width: 100%;
  position: absolute;
}

.context h1 {
  text-align: center;
  color: #fff;
  font-size: 50px;
}

.area {
  background: 
        radial-gradient(circle at 10% 20%, rgba(67, 186, 185, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(100, 95, 170, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f3f4f7 50%, #e2e8f0 100%);
  width: 100%;
  height: 100vh;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: #c4dee5;
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* =========================
   LOADER CARD OCR CLOUD
========================= */

:root {
  --ocr-dark: #009ECF;
  --ocr-blue: #2262AD;
  --ocr-cyan: #43BAB9;

  --loader-text-color: #edf0f5;
}

#cardOption {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

#cardLoaderOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: inherit;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

#cardLoaderOverlay.active {
  opacity: 1;
  display: flex;
  visibility: visible;
}

.loader-text {
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--loader-text-color);
}

/* LOADER ANIMADO */
.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: relative;
  border: 3px solid;
  border-color: var(--ocr-blue) var(--ocr-blue) transparent transparent;
  animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  border: 3px solid;
  border-radius: 50%;
}

.loader::after {
  width: 48px;
  height: 48px;
  border-color: transparent transparent var(--ocr-cyan) var(--ocr-cyan);
  animation: rotationBack 0.6s linear infinite;
}

.loader::before {
  width: 36px;
  height: 36px;
  border-color: var(--ocr-dark) var(--ocr-dark) transparent transparent;
  animation: rotation 1.4s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotationBack {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.ripple-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.circleV1{
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 1px 0px #508fb9;
}

.small{
  width: 50vmin;
  height: 50vmin;
  left: -25vmin;
  bottom: -25vmin;
}

.medium{
  width: 100vmin;
  height: 100vmin;
  left: -50vmin;
  bottom: -50vmin;
}

.large{
  width: 150vmin;
  height: 150vmin;
  left: -75vmin;
  bottom: -75vmin;
}

.xlarge{
  width: 200vmin;
  height: 200vmin;
  left: -100vmin;
  bottom: -100vmin;
}

.xxlarge{
  width: 250vmin;
  height: 250vmin;
  left: -125vmin;
  bottom: -125vmin;
}

.shade1{
  opacity: 0.2;
}
.shade2{
  opacity: 0.5;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 0.9;
}

@keyframes ripple{
  0%{
    transform: scale(0.8);
  }
  
  50%{
    transform: scale(1.2);
  }
  
  100%{
    transform: scale(0.8);
  }
}

.switch-button{
	width: 100%;
    height: 50px;
    text-align: center;
    will-change: transform;
    cursor: pointer;
    border: 1px solid white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: solid 1px #6c757d5c;
    border-radius: 52px;
}
.switch-button-case{
		display: inline-block;
		background: none;
		width: 49%;
		height: 100%;
		color: rgb(43, 34, 34);
		position: relative;
		border: none;
		transition: .3s ease all;
		text-transform: uppercase;
		letter-spacing: 5px;
		padding-bottom: 1px;
		&:hover{
			color: grey;
			cursor: pointer;
		}
		&:focus {
			outline: none;
		}
	}
    .active-case{
        font-weight: bold;
        color: #ffffff;
    }
	.activeSwitch {
            border-radius: 52px;
		color: #151515;
		background-color: #5d5796;
		position: absolute;
		left: 0;
		top: 0;
		width: 50%;
		height: 100%;
		z-index: -1;
		transition: .3s ease-out all;
		&-case{
			color: #ede8e8;
		}
	}


.signature {
	position: fixed;
  font-family:  sans-serif;
	font-weight: 100;
	bottom: 10px;
	left: 0;
	letter-spacing: 4px;
	font-size: 10px;
	width: 100vw;
  text-align: center;
  color: white;
	text-transform: uppercase;
  text-decoration: none;
}
.view{
    display: none;
    height: auto;
    overflow: hidden;
}
.view.active {
  display: block !important;
}
.btnBack{
    position: fixed;
    width: 45px !important;
    height: 45px;
    top: 15px;
    left: 15px;
    background-color: #f8f9fa00 !important;
    color: var(--ocr-blue-solid) !important;
    border-radius: 60px;
    text-align: center;
    font-size: 30px;
    padding: 0 0 0 2px;
    box-shadow: 2px 2px 3px #6c757d33;
    border-color: #1b4b821a;
    z-index: 5;
}
#myTab{
    border-bottom: 1px solid var(--warning);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    color: var(--white);
    background-color: var(--primary-blue);
    border-color: #dee2e6 #dee2e6 #fff;
}

div#myTabContent {
    height: 60vh;
    overflow: auto;
}

/* Estilos específicos para móviles */
@media (max-width: 767px) {
    .logo-box img{
        width: 100%;
    }
    #cardOption{
        max-height: 100vh;
        background: transparent;
        box-shadow: none !important;
        border: none !important;
        overflow: hidden;
    }
    #cardLoaderOverlay.active{
        border-radius: 0;
        position: fixed;
    }
    
    div#myTabContent {
        height: calc(100vh - 240px);
        overflow: auto;
    }
}