﻿/*HTML - BODY*/
html, body{
    font-family: 'Montserrat', sans-serif!important;
    height: 100vh;
    width: 100%;
}

h1{
    font-weight: 700!important;
}

h2{
    font-weight: 800!important;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.btn-primary{
    background: #009FE2!important;
    border: 1px solid #009FE2!important;
}

.login{
    padding: 80px 40px;
    gap: 63px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(0, 159, 226, 0.67) -80.79%, rgba(255, 255, 255, 0.67) 101.88%), #FFF;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.10);
    width: 25vw;
}

.title-login{
    color: #009FE2;
}

.logo_overseas img{
    width: 12%;
    position: absolute;
    top: 5%;
    left: 5%;
}


/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .login {
        width: 95vw;
        margin: 20px;
        padding: 25px 20px !important;
    }
    
    .logo_overseas img {
        width: 25%;
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .login-card {
        width: 60% !important;
        max-width: 500px;
    }
}

/* Ajustes para escritorio */
@media (min-width: 1025px) {
    .login-card {
        width: 35% !important;
        min-width: 400px;
        max-width: 500px;
    }
}

/*ESTILOS DE STEP PREVIO*/
.programa-numero{
    width: 45px;
    height: 45px;
    padding: 10px;
    background: #F0029F;
    border-radius: 100px;
    color: white;
}

.box-card{
    width: 90%;
}

.title-card{
    color: #F0029F;
    font-size: 20px;
    font-weight: 700;
}

.line{
    width: 100%;
    height: 1px;
    background: #CCC;
}

.text-card{
    color: #202020;
    font-size: 14px;
    font-weight: 300;
}

.llena_formulario{
    text-decoration: none;
    color: #009FE2;
    font-weight: 600;
}

.paskaperu{
    color: #F0029F;
}

/* Para móviles: mostrar la imagen como banner superior */
@media (max-width: 991.98px) {
    .img-portada {
        min-height: 300px;
        border-radius: 0 0 20px 20px;
    }
    
    .col-12.col-lg-6.d-none.d-lg-block {
        display: block !important;
    }
}

.iniciar-sesion{
    background: white;
    display: block;
    padding-block: 8px;
    border-radius: 10px;
    text-align: center;
    color: #202020;
    text-decoration: none;
}


.container-fluid {
    height: 100%;
    padding: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.boxing{
    display: flex;
    justify-content: space-between;
    margin: auto;
    width: 98vw;
}



.container-login{
    background-image: linear-gradient(180deg, rgba(0, 159, 226, 0.50) 0%, rgba(255, 255, 255, 0.50) 91.9%), url('./../img/Background-overseas_sistema.webp');
    background-position: center;
    background-size: cover; /* o contain seg��n lo que necesites */
    background-repeat: no-repeat;
    background-color: lightgray;
}

.nav .nav-link.active {
    background-color: #009FE2!important;
}

nav{
    height: calc(100% - 20px);
    gap: 2.5rem
}

.sidebar{
    position: sticky;
    top: 1lvh;
    background-image: url('../img/background_sidebar.webp');
    height: 98lvh;
    border-radius: 10px;
}

.box-right{
    margin-block: 1lvh;
}

.box-container{
    width: 75%;
}

.header-horizontal{
    width: 75%;
}

/* Para móviles*/
@media (max-width: 991.98px) {
    .box-container {
        width: 90%;
    }
    
    .header-horizontal{
    width: 90%;
    }

}

.title-step1-program h2{
    font-size: 42px;
    color: #009FE2;
    font-weight: 800;
}

.title-step1-program p{
    font-size: 24px;
    color: #202020;
    font-weight: 300;
}

/* Para móviles */
@media (max-width: 991.98px) {
    .title-step1-program h2 {
        font-size: 28px;
    }
    
    .title-step1-program p{
    font-size: 16px;
    }
}

.title-section{
    display: flex;
    align-items: center;
    gap: 5px
}

.form-step1 .title-section h4{
    color: #F0029F;
    font-weight: 600;
    font-size: 22px;
    margin: 0;
}

.form-step1 .title-section i{
    color: #F0029F;
    font-size: 22px;
}

.form-step1 .form-label{
    font-size: 16px;
}

.form-control, .form-select {
    font-size: 1rem!important;
}

/* Para móviles*/
@media (max-width: 991.98px) {
    .form-step1 .title-section h4 {
        font-size: 18px;
        font-weight: 500;
    }
    
    .form-step1 .title-section i{
        font-size: 20px;
    }
    
    .form-step1 .form-label{
        font-size: 15px;
    }
    
    .form-control, .form-select {
        font-size: 15px!important;
    }
}

/*NAVBAR*/
.navbar-toggler {
        background-color: rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.5rem 0.75rem;
        border-radius: 0.375rem;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Offcanvas personalizado */
    .offcanvas {
        background-image: url('../Assets/img/background_sidebar.webp');
        color: white;
        max-width: 280px;
    }
    
    .offcanvas-header .btn-close {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
        opacity: 0.8;
    }
    
    .offcanvas-body .nav-link {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        margin-bottom: 0.25rem;
        transition: all 0.3s ease;
    }
    
    .offcanvas-body .nav-link:hover,
    .offcanvas-body .nav-link.active {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Estilos para información del usuario en offcanvas */
    .offcanvas-body .bg-body-secondary {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        color: white;
    }
    
    .offcanvas-body .bg-body-secondary span {
        color: white;
    }
    
    .offcanvas-body .bg-body-secondary .small {
        font-size: 0.875em;
        opacity: 0.9;
    }
    
    /* Foto de usuario */
    .foto-user {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Ajustes para mobile */
    @media (max-width: 767.98px) {
        .boxing {
            padding-top: 60px !important;
        }
    }
    
    /* Estilos para el botón hamburguesa */
    .navbar-toggler {
        background-color: rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.5rem 0.75rem;
        border-radius: 0.375rem;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Offcanvas personalizado */
    .offcanvas {
        background-image: url('../Assets/img/background_sidebar.webp');
        color: white;
        max-width: 280px;
    }
    
    .offcanvas-header .btn-close {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
        opacity: 0.8;
    }
    
    .offcanvas-body .nav-link {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        margin-bottom: 0.25rem;
        transition: all 0.3s ease;
    }
    
    .offcanvas-body .nav-link:hover,
    .offcanvas-body .nav-link.active {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Estilos para información del usuario en offcanvas */
    .offcanvas-body .bg-body-secondary {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        color: white;
    }
    
    .offcanvas-body .bg-body-secondary span {
        color: white;
    }
    
    .offcanvas-body .bg-body-secondary .small {
        font-size: 0.875em;
        opacity: 0.9;
    }
    
    /* Foto de usuario */
    .foto-user {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Ajustes para mobile */
    @media (max-width: 767.98px) {
        .boxing {
            padding-top: 60px !important;
        }
    }


.foto-user{
    object-fit: contain;
    width: 15%;
}

.menu-icon{
    color: white;
}

.nav-item .nav-link.disabled{
    opacity: 0.5;
}


.menu-icon i{
    width: 17px;
    font-size: 17px!important;
}

.menu-title {
    color: white;
    font-size: 16px;
    font-weight: 400;
}


/* Agrega esto en la sección de estilos */
.appointment-details {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.appointment-details div {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #eee;
}

.appointment-details div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.appointment-details strong {
    color: #495057;
    display: block;
    margin-bottom: 0.3rem;
}

.appointment-confirmed {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.appointment-details {
    margin-top: 1rem;
}

.appointment-details strong {
    color: #495057;
    display: block;
    margin-bottom: 0.3rem;
}

.icon-success {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.appointment-confirmed {
    padding: 1rem;
}

.appointment-details {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1rem 0;
}

.detail-item {
    margin-bottom: 1rem;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    padding-left: 1.75rem;
}


.respuestas-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.respuestas-table tr:last-child td {
    border-bottom: none;
}


/* Estilos para el multistep horizontal */
.multistep-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 1rem;
    margin-top: 1rem;
}

.multistep-horizontal::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    z-index: 1;
}

.step-progress-horizontal {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background-color: #0d6efd;
    z-index: 2;
    transition: width 0.3s ease;
}

.step-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
}

.step-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.step-link.disabled{
    pointer-events: none;
    cursor: default;
}

.step-link:hover {
    text-decoration: none;
    color: inherit;
}

.step-icon-horizontal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #6c757d;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-horizontal.active .step-icon-horizontal {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.step-label-horizontal {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: #6c757d;
}

.step-horizontal.active .step-label-horizontal {
    color: #0d6efd;
    font-weight: 600;
}

/* Hover effects */
.step-horizontal:not(.active):hover .step-icon-horizontal {
    background-color: #dee2e6;
    border-color: #adb5bd;
}

.step-horizontal:not(.active):hover .step-label-horizontal {
    color: #495057;
}

.btn-delete {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.delete-confirm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.delete-confirm-content {
    background-color: white;
    margin: 15% auto;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.delete-loading {
    display: none;
    text-align: center;
    padding: 10px;
}

.delete-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #dc3545;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}



/*POPUP*/
.popup{
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  z-index: 9999;
  border-radius: 10px!important;
  width: 40%;
}

#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Color oscuro semi-transparente */
  z-index: 9998; /* Asegura que el overlay esté detrás del popup */
  display: none; /* Ocultar inicialmente */
}

@media (min-width: 1024px){
#popup h3{
    font-size: 1rem!important;
    }    
}

@media (max-width: 768px){
    .popup{
  width: 80%;
    }
}


#cerrar-popup{
  position: absolute;
  top: 4px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.imagen-popup{
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
  border-radius: 5px!important;
}

.paskaperu a{
    color: #F0029F;
    font-weight: 700!important;
    text-decoration: none!important;

}