@font-face {
    font-family: "Richela Kids";
    src: url("/fonts/Richela Kids Font by Keithzo (7NTypes).otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.ts-fredoka-font {
    font-family: "Fredoka" !important;
}
.ts-atma-font {
    font-family: "Atma" !important;
}
.ts-open-sans-font {
    font-family: "Open Sans" !important;
}
.ts-quicksand-font {
    font-family: "Quicksand" !important;
}
.ts-inter-font {
    font-family: "Inter" !important;
}
.ts-richela-kids-font {
    font-family: "Richela Kids" !important;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Fondo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de todo */
}

.spinnerformulario {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff; /* Color de la animación */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite; /* Animación de rotación */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ts-bg-image {
    /*background-image: url('https://wallpapers.com/images/hd/aesthetic-one-color-j8h0qs6251iamgca.jpg');*/
    background-color: #41B4CF;
    background-size: cover;
    background-position: center;
    border-radius: 3vw;
    /*border-radius: 40px;*/
}

.ts-highlighted {
    background-color: #2598B5;
    padding: 0rem 0.2rem;
    border-radius: 12px;
}

.ts-btn-yellow {
    background-color: #FCCB4D;
    color: #3D3D3D;
    font-weight: bold;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 80px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.ts-btn-yellow:hover {
    background-color: #f7c440;
}

.ts-btn-blue {
    background-color: #70CDE0;
    color: #224657;
    font-weight: bold;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 80px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.ts-btn-blue:hover {
    background-color: #65b8c9;
}

.ts-object-fit-cover {
    object-fit: cover;
}

.ts-price-tag {
    position: absolute;
    background-color: #161616;
    vertical-align: top;
    color: #69C6DE;
    border: none;
    border-radius: 15px 0px;
    transform: scale(1.5);
    transform-origin: center;
}

.ts-card-box-shadow {
    box-shadow: 0 0 15px 0 #d3dcf6;
}

.ts-checkbox input[type="checkbox"] {
    display: none;
}

.ts-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid black;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ts-checkbox .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}

.ts-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: black;
}

.ts-checkbox input[type="checkbox"]:checked + .checkmark::after {
    border-color: white;
    opacity: 1;
}

.ts-card-plan-form {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px;
}

.ts-validation-error-text {
    color: rgb(220, 53, 69);
    font-size: .85rem;
}

.ts-simple-table {
    width: 100%;
    border-collapse: collapse;
}

.ts-simple-table tr th, .ts-simple-table tr td {
    border: 1px solid black;
    padding: 3px;
}

.ts-simple-blue-table {
    width: 70%;
    border-collapse: collapse;
}

.ts-simple-blue-table tr th, .ts-simple-blue-table tr td {
    border: 2px solid rgb(147, 167, 254);
    padding: 5px;
}

.ts-simple-blue-table tr th {
    text-align: center;
    color: white;
    background-color: rgb(204, 213, 254);
}

.ts-btn-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 9999;
}

.ts-btn-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: width 0.3s, transform 0.2s;
}

.ts-btn-float:hover {
    width: 160px;
}

.ts-btn-float i {
    font-size: 28px;
    line-height: 1;
    vertical-align: middle;
}

.ts-btn-text {
    font-family: "Fredoka" !important;
    font-size: 20px;
    display: none;
}

.ts-btn-float:hover i {
    display: none;
}

.ts-btn-float:hover .ts-btn-text {
    display: inline;
}

.ts-btn-whatsapp {
    background-color: #25D366;
}

.ts-btn-whatsapp:hover {
    background-color: #1ebe5b;
}

@media (max-width: 544px) {
    .ts-price-tag {
        top: 85%;
        right: 30%;
        transform: scale(1);
        transform-origin: center;
    }
}

@media (min-width: 545px) {
    .ts-price-tag {
        top: 90%;
        right: 30%;
    }
}

@media (min-width: 768px) {
    .ts-price-tag {
        top: 100%;
        right: 30%;
    }
}

@media (min-width: 992px) {
    .ts-price-tag {
        top: 50%;
        right: 15%;
    }
}
