@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;700&display=swap');

* {
    font-family: 'Inter', sans-serif;

    --green: #339966;
    --orange: #FF9933;
    --black: #111B21;
    --blacker: #090f13;
    --grey: #C5C4C2;
    --white: #e6e4e2;

    --fontbasesize: 16px;
}

textarea {
    resize: vertical;
    width: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.separador {
    height: 2rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-size: clamp(1.5 * var(--fontbasesize), 3vw, 1.6 * var(--fontbasesize));
    font-weight: 700;
}

h1.super {
    font-size: clamp(2.2 * var(--fontbasesize), 3vw, 2.5 * var(--fontbasesize));
}

h2 {
    font-size: clamp(1.4 * var(--fontbasesize), 3vw, 1.5 * var(--fontbasesize));
}

h3 {
    font-size: clamp(1.3 * var(--fontbasesize), 3vw, 1.4 * var(--fontbasesize));
}

h4 {
    font-size: clamp(1.2 * var(--fontbasesize), 3vw, 1.3 * var(--fontbasesize));
}

h5 {
    font-size: clamp(1.1 * var(--fontbasesize), 3vw, 1.2 * var(--fontbasesize));
}

p {
    font-size: clamp(0.85 * var(--fontbasesize), 3vw, 1 * var(--fontbasesize));
}

th {
    font-size: clamp(0.95 * var(--fontbasesize), 3vw, 1 * var(--fontbasesize));
}

li, td {
    font-size: clamp(0.85 * var(--fontbasesize), 3vw, 1 * var(--fontbasesize));
}

body {
    background-color: #fafafa;
}

#nav-logo {
    transition: all .4s ease-in-out;
}

.glassmorph {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--black);
}

.neomorph {
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    box-shadow: -5px -5px 9px rgba(255, 255, 255, 0.25), 5px 5px 9px rgba(94, 104, 121, 0.3);
}

.subtext {
    opacity: .6;
}

.contenedor-1600 {
    max-width: min(100% - 16px, 1600px);
    width: 100%;
    padding: 0 16px;
    margin-inline: auto;
}

.contenedor-1200 {
    max-width: min(100% - 16px, 1200px);
    width: 100%;
    padding: 0 16px;
    margin-inline: auto;
}

.contenedor-400 {
    max-width: min(100% - 16px, 400px);
    width: 100%;
    padding: 0 16px;
    margin-inline: auto;
}

.estado-badge-positivo {
    padding: 3px 5px;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    background-color: green;
}

.estado-badge-negativo {
    padding: 3px 5px;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    background-color: firebrick;
}

.actionbtn {
    border: none;
    background-color: transparent;
    padding: 0px;
    margin: none;
}

.actionbtn > * {
    padding: 10px;
}


/* ANIMATION STUFF */

.fadeout {
    animation: fadeout 3s ease 0s 1 normal forwards;
}

@keyframes fadeout {
    0% {
		opacity: 0;
		transform: translateY(-50px);
	}

    10% {
		opacity: 1;
		transform: translateY(0);
	}

    90% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(-50px);
	}
}

.login-wrapper {
    background-image: radial-gradient(circle, #c9c9c9, #0a0931);
    background-repeat: no-repeat;

    height: 100vh;
}

.login-error {
    color: firebrick;
    font-size: 14px;
}

/* RESPONSIVE STUFF */

.sidenav-custom {
    width: 200px;
    height: 100dvh;
}

.sidenav-custom .nav-link {
    font-size: 15px;
}

.sidenav-custom hr {
    margin: 8px 0;
}

@media (max-width: 767px) {
    .sidenav-custom {
        width: 45px;
    }

    .sidenav-custom img {
        width: 40px;
    }

    .sidenav-custom .nav-link {
        padding-left: 12px;
    }
}