html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.avatar-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.color_1 {
   color: rgb(146, 181, 216);
}

.fondo_1 {
    background-color: rgb(243 249 255); /*azulado*/
}

.fondo_2 {
    background-color: rgb(255 236 254); /*rosita */
}
.fondo_3 {
    background-color: #1a153c; /*color azul logo*/
}


.fondo_4 {
    background-color: #ad0098; /*color morado logo*/
}
.fondo_blaco {
    background-color: white;
    padding: 1.5rem; /* equivalente a p-4 */
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075); /* equivalente a shadow-sm */
}
.fondo_3_largo {
    background-image: url('../img/apt-1.png'); /* Reemplaza con tu imagen */ /* o background-image */
    background-size: cover;
    background-position: center;
    width: 100%;
}

.text-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Cortinilla oscura al 50% */
    backdrop-filter: blur(2px); /* Opcional: desenfoque suave */
}

.hero-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}



.color_2 {
    color: #ffa785;
}

.color_3 {
    color: #ad0098; /* color violeta del logo */
}

.dropdown-lg {
    min-width: 325px; /* o el tamaño que prefieras */
    padding: 1rem; /* más espacio interno */
}

.primary {
    color: #1a153c !important;
}

.btn-eliminar-foto {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease;
    border: none;
}

    .btn-eliminar-foto:hover {
        background-color: rgba(255, 0, 0, 0.7);
    }

.img-cuadrada {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
}

.img-sinDeformar {
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3; /* Opcional: fuerza proporción sin deformar */
}

.caja-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
   /* background-color: #eef0f6;*/
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.icono-selector:has(input[type="checkbox"]:checked) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #ad0098;
}

    .icono-selector:has(input[type="checkbox"]:checked) i,
    .icono-selector:has(input[type="checkbox"]:checked) p {
        color: #ad0098;
        font-weight: bold;
    }


/* Sombra al pasar el ratón */
.icono-selector:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out;
}

/* Sombra persistente cuando está seleccionado */
.icono-selector input[type="radio"]:checked ~ .contenido-icono {
    /* No aplicar sombra aquí */
}

/* Aplicar sombra al label cuando el radio está seleccionado */
.icono-selector input[type="radio"]:checked:checked {
    /* No funciona directamente, así que usamos una clase extra si fuera necesario */
}

/* Alternativa: aplicar sombra al label si el radio está seleccionado */
.icono-selector input[type="radio"]:checked {
    /* No tiene efecto visual directo, por eso lo mejor es aplicar al label */
}

/* Solución definitiva: aplicar sombra al label usando :has() (solo navegadores modernos) */
.icono-selector:has(input[type="radio"]:checked) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    /* Color del icono y texto cuando está seleccionado */
    .icono-selector:has(input[type="radio"]:checked) i,
    .icono-selector:has(input[type="radio"]:checked) p {
        color: #ad0098;
        font-weight: bold;
    }





.icono-container {
    background-color: #f7f7f7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a153c !important;
    overflow: hidden !important; /* evita que el icono sobresalga */
}

    .icono-container i {
        font-size: 20px; /* ligeramente más pequeño */
        line-height: 1; /* mantiene compactas las líneas */
        transform: scale(1); /* evita que se deforme por herencia */
    }


.dropzone {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dropzone.bg-light {
        background-color: rgb(146, 181, 216);
    }

.card-img-top {
    height: 150px;
    object-fit: cover;
}


.border-secondary {
    --bs-border-opacity: 1;
    border-color: rgb(218 219 219) !important;
}
#canvas{
    position: relative;
    width: 100%;
    min-height: 400px;
    border: 1px solid #ccc;
    margin-top: 20px;
    overflow-x: auto;
    background: linear-gradient(to bottom, #0077be 0px, #0077be 50px, #f0f0f0 50px);
}

#mar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, #00aaff, #0077be);
    animation: wave 2s infinite ease-in-out;
    z-index: 0;
}

@keyframes wave {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0px);
    }
}

.input-alto {
    height: 60px;
    font-size: 1.2rem; /* Opcional: para que el texto también se vea más grande */
}

.btn-primary {
    background-color: #1a153c !important
}

@keyframes zoomIn {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 1s ease-out forwards;
    
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

.transition-opacity {
    transition: opacity 1s ease-in;
    margin-bottom: 30px;
}

.switch-grande{
    width:50px !important;
    height: 20px !important;
}

.btn-imagen-cargar {
    background-color: #ffffff;
    border: none;
    color: #1a153c;
}

.form-check-input:checked {
    background-color: #ad0098 !important;
    border-color: #ad0098 !important;
}



