
@font-face {
    font-family: 'titles'; /* Nombre que asignarás a la fuente */
    src: url('../fonts/Net-turbinado-bold.ttf') format('truetype'); /* Ruta al archivo .ttf */
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3{
    font-family: 'titles';
}

h2{font-size: 1.8rem; color: #393939;}

[v-cloak]{display: none !important;}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

a{text-decoration: none; color: white !important;}

#app{
    /* background: linear-gradient(-180deg, #ffffff 35%, #d10000e7 95%); */
    /* background: linear-gradient(130deg, #ffffff 35%, #d10000e7 100%); */
    background-image: url(../img/fondo.jpg);
    min-height: 100vh !important;
    background-size: cover;
}

/* -------------------------------- LOGIN ------------------------------------ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glow {
    from {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    to {
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

/* Efectos de carga */
.v-application {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.black_color{background-color: #393939 !important;}

.red_color{background-color: #EA0029;}
.red_text{color: #d10000;}
.black_text{color: #393939}

.img_juan{
    position: absolute;
    width: 15rem !important;
    height: fit-content;
    top: 0rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 0;
    pointer-events: none;
}

.img_juan img{
    width: 100%;
    display: block;
}

.frm_login{
    width: 90%;
    margin: 0 auto;
    min-width: 300px;
    max-width: 400px;
    margin-top: 8rem !important;
    background-color: rgba(255, 255, 255, 0.726) !important;
    backdrop-filter: blur(3px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    animation: slideIn 0.8s ease-out;
    border-radius: 1.5rem !important;
    border: 3px solid #393939 !important;
    position: relative;
    z-index: 1;
}

.frm_login-title{
    letter-spacing: 2.5px;
    font-size: 3.2rem;
}

.frm_login-title .v-icon{
    color: #d1000073;
    font-size: 2.2rem;
}

.frm_login-subtitle{
    font-size: 1.9rem;
}

/* CSS adicional para el texto del botón */
.login-text {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.login-image {
  transition: transform 0.4s ease;
}

.login-btn:hover .login-image {
  transform: scale(1.08);
}

/* Estado cuando los campos están vacíos */
.login-image.blurred {
  filter: blur(1px) grayscale(8%) brightness(90%);

}

/* Estado cuando los campos están llenos */
.login-image.clear {
  filter: blur(0px) grayscale(0%) brightness(100%);

}

/* Efecto hover mejorado cuando está listo */
.login-btn:hover .login-image.clear {
  transform: scale(1.08);
}

.footer-section {
    flex-shrink: 0;
}

.footer-section a {
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    .v-footer .v-col {
        justify-content: center !important;
    }
    
    .footer-section {
        margin: 0 auto;
    }
}

/* -------------------------------- DASHBOARD ------------------------------------ */

.background-main{
    background-image: url(../img/fondo_mosaico.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.main-content{
    width: 100%;
    margin: 0 auto !important;
    /* border: 1px solid #393939; */
}

.appbar {
    display: flex;
    position: fixed;
    width: 96%;
    margin: 0 auto;
    height: 6rem;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 0rem .8rem;
    color: white;
    border-radius: 1.4rem;
    transition: background-color 0.4s ease,
        box-shadow 0.4s ease, 
        backdrop-filter 0.4s ease;
        background-color: rgba(255, 255, 255, 0.2);
}

/* .avatar-border {
    border-radius: 50% !important;
    border: 3px solid !important;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4) 1 !important;
} */

.avatar-gradient-border {
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: inline-flex;
}

.appbar--scrolled {
    background-color: rgba(255, 255, 255, 0.565);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: black;
    backdrop-filter: blur(4px) !important;
}

.appbar-title {
    margin-top:6rem;
    width: 100%;
    font-size: 2rem;
    text-align: center;
    color: #393939;
    text-shadow: 
        -1.5px -1.5px 0 white,
        1px -1px 0 white,
        -1.5px 1.5px 0 white,
        1px 1px 0 white;
    margin-bottom: 1rem;
}

.header{
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.header .main-card{
    /* margin: 0 auto; */
    width: 93%;
    max-width: 414px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: .9rem !important;
    border: 3px solid #393939 !important;
}

.main-card h2{
    font-size: 2.4rem;
}

.dashboard-grid{
    margin-bottom: 4.5rem !important;
}

.category-header {
    grid-column: 1 / -1;
    text-align: center;
    color: white;
    font-size: 1.3em;
    font-weight: 300;
    margin: 20px 0 10px 0;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.11);
}

.app-card{
    margin: auto;
    width: 98%;
    max-width: 335px;
    height: 16.8rem;
    border-radius: .9rem !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* efecto hover */
.app-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.226) !important;
}