/* TAGS */

:root {
	--color-dark: #071437;
	--color-primary: #e74527;
	--color-danger: #e74527;
	--color-gray: #99A1B7;
	--color-gray-light: #DBDFE9;
	--color-gray-dark: #4B5675;
}

html {
	height: 100%;
	font-size: 13px;
}

body {
	display: flex;
	height: 100%;
	flex-direction: column;
	margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-dark);
    font-family: "Noto+Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, label {
	display: inline-block;
	width: 100%;
}

h1, h2 {
	font-optical-sizing: auto;
    font-style: normal;
    line-height: .8;
}

h2 {
    color: white;
}

a {
	cursor: pointer;
	text-decoration: none;
}

/* STRUCTURE */

.start-panel {
	display: none;
	height: 100%;
	width: 50%;
}

@media (min-width: 768px) {
	.start-panel {
		display: flex;
	}
}

.end-panel {
	display: flex;
	height: 100%;
	width: 100%;
}

@media (min-width: 768px) {
	.end-panel {
		width: 50%;
	}
}

.container-fluid {
	display: flex;
	background: linear-gradient(to right, var(--color-primary) 70%, white 30%);
	height: 100%;
	width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.container {
	--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.col-6 {
	display: flex;
	flex-direction: column;
	width: 50%;
}

.col-10 {
	display: flex;
	flex-direction: column;
	width: 83.333333333%;
}

.col-12 {
	display: flex;
	width: 100%;
}

@media (max-width: 420px) {
	.col-xs-12 {
		width: 100%;
	}
}

.d-none {
	display: none !important;
}

.d-block {
	width: 100%;
}

/* DISPLAY */

.p-relative {
	position: relative;
}

.d-flex {
	display: flex;
}

@media (min-width: 768px) {
	.d-sm-none {
		display: none;
	}
}

.flex-row {
	flex-direction: row;
}

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

@media (max-width: 420px) {
	.flex-xs-column {
		flex-direction: column;
	}
}

.flex-grow-0 {
	flex-grow: 0;
}

.flex-grow-1 {
	flex-grow: 1;
}

/* SIZES */

.h-100 {
	height: 100%;
}

.w-auto {
	width: auto;
}

.w-100 {
	width: 100%;
}

.w-150p {
	width: 150px;
}

.mw-300p {
	max-width: 300px;
}

.mw-400p {
	max-width: 400px;
}

.mw-500p {
	max-width: 500px;
}

@media (min-width: 992px) {
	.w-lg-75 {
		width: 75%;
	}
}

/* ALIGNMENT */

.justify-content-start {
	justify-content: start;
}

@media (max-width: 420px) {
	.justify-xs-content-start {
		justify-content: start !important;
	}
}

.justify-content-center {
	justify-content: center;
}

.justify-content-end {
	justify-content: end;
}

.align-items-center {
	align-items: center;
}

.text-start {
	text-align: left;
}

@media (max-width: 420px) {
	.text-xs-start {
		text-align: left !important;
	}
}

.text-center {
	text-align: center;
}

.text-end {
	text-align: right;
}

/* COLORS */

.bg-white {
	background-color: white;
}

.color-primary {
	color: var(--color-primary);
}

.color-dark {
	color: var(--color-dark);
}

.color-gray {
	color: var(--color-gray)
}

/* MARGINS */

.m-0 {
	margin: 0;
}

.m-top-0 {
	margin-top: 0;
}

.m-top-05 {
	margin-top: 0.5rem;
}

.mt-4 {
	margin-top: 4rem;
}

.mb-1n {
	margin-bottom: -1rem;
}

.mb-18n {
	margin-bottom: -2rem;
}

.mb-2n {
	margin-bottom: -2rem;
}

.p-0 {
	padding: 0;
}

.p-1 {
	padding: 1rem;
}

.pt-1 {
	padding-top: 1rem;
}

.ps-4 {
	padding-left: 4rem;
}

.pb-1 {
	padding-bottom: 1rem;
}

/* RADIUS */

.border-radius-start {
	border-radius: 50px 0px 0px 50px;
}

/* FONT */

.fs-1 {
	font-size: 1rem;
}

/* FORM */
.input-group {
	position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin-bottom: 1rem;
}

label {
	display: inline-block;
	width: auto;
}

input[type=text],
input[type=password] {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	display: block;
	width: 100%;
	padding: .775rem 1rem;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-gray-dark);
	appearance: none;
	background-color: white;
	background-clip: padding-box;
	border: 1px solid var(--color-gray-light);
	border-radius: 1.5rem;
	outline: none;
	box-shadow: false;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input[type="checkbox"] {
    appearance: none;
    border: solid 1px var(--color-gray-light);
    transition: background-color 0.3s, border-color 0.3s;
	border-radius: .45em;
	margin-left: 0;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: -.125rem;
	vertical-align: top;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Cuando está marcado */
input[type="checkbox"]:checked {
    background-color: var(--color-primary);
	border-color: var(--color-gray-light);
}

/* Agregar un "check" centrado */
input[type="checkbox"]::after {
    content: "✔";
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    display: none;
}

/* Mostrar el check cuando está marcado */
input[type="checkbox"]:checked::after {
    display: block;
    padding-left: .1rem;
}

input.error {
	border: solid 1px var(--color-danger);
}

button {
	cursor: pointer;
	border: 0;
	border-radius: 1.5rem;
	color: white;
	font-weight: bold;
	min-width: 150px;
    padding: calc(.775rem + 1px) calc(1.5rem + 1px);
    box-shadow: none;
    background-color: var(--color-primary);
}

button:active {
	filter: brightness(85%);
}

/* MODAL */
.modal {
	display: flex;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.open {
	opacity: 1;
	visibility: visible;
    transform: scale(1);
}

.modal .backdrop {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	position: absolute;
}

.modal .card {
	display: flex;
	flex-direction: column;
	background: white;
	width: calc(100% - 2rem);
	height: calc(100% - 2rem);
	z-index: 1;
	max-width: 30rem;
	max-height: 16rem;
	border-radius: .5rem;
	padding: 1rem;
}

.modal .card .header {
	display: flex;
	flex-grow: 0;
}

.modal .card .header .dismiss {
	background: none;
	width: 1rem;
	color: var(--color-dark);
	min-width: auto;
	cursor: pointer;
}

.modal .card .body {
	display: flex;
	flex-grow: 1;
}

.modal .card .footer {
	display: flex;
	flex-grow: 0;
	border-top: solid 1px var(--color-gray-light);
	padding: 0.5rem 0;
}

.modal .card .footer button {
	min-width: 2rem;
}

/* LINK */

.link-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2rem;
	height: 2rem;
	margin: 2px;
}

/* ICONS */
.success {
	display: inline-block;
    border: solid 2px green;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 3rem;
    color: green;
    line-height: 1.5;
}

.success::before {
    content: "✔"; /* Aquí agregamos el Check Mark */
}

.warning {
	display: inline-block;
    border: solid 2px red;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 3rem;
    color: red;
    line-height: 1.5;
}

.warning::before {
    content: "!"; /* Símbolo de advertencia */
}

.flag {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
}

.flag img {
	height: 100%;
}