/* Botón flotante */
button.sfb-floating-button {
    position: fixed;
    top: 200px;
    right: 20px;
    width: 82px;
    height: 85px;
    border-radius: 50px;
    background-color: #00a186;
    color: #fff !important;
    border: none;
    font-size: 14px !important;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px !important;
    line-height: 28px !important;
    font-family: "Lato-", Sans-serif !important;
    font-weight: 600 !important;

    /* .sfb-button-text {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #fff !important;
    } */
}
button.sfb-floating-button:focus {
    background-color: #00a186 !important;
    color: #fff !important;
}
button.sfb-floating-button:hover {
    background-color: #00a186 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;

    sfb-button-text {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
}

button.sfb-floating-button:active {
    transform: scale(0.98) !important;
    background-color: #00a186 !important;
    color: #fff !important;

    sfb-button-text {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
}

/* Diálogo */
.sfb-dialog {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90vw;
    padding: 0;
}

.sfb-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.sfb-dialog-content {
    padding: 30px;
    position: relative;
}

.sfb-close-dialog {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.sfb-close-dialog:hover {
    color: #000;
}

.sfb-dialog h2 {
    margin: 30px 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #00a186;
}

.sfb-dialog p {
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.sfb-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sfb-form .tnp-input {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    outline: none !important;
    background-color: #fff !important;
    color: #000 !important;
    font-size: 14px !important;
    height: 40px !important;
    border-radius: 5px !important;
    transition: border-color 0.2s ease !important;
}

.sfb-form .tnp-input:focus {
    border-color: #00a186 !important;
    box-shadow: 0 0 5px rgba(0, 151, 114, 0.3) !important;
}

.sfb-form .tnp-submit {
    padding: 10px 20px !important;
    border: none !important;
    outline: none !important;
    background-color: #00a186 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 40px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.sfb-form .tnp-submit:hover {
    background-color: #00a186 !important;
}

.sfb-form .tnp-submit:disabled {
    background-color: #ccc !important;
    cursor: not-allowed !important;
}

/* Loader spinner styling */
.sfb-loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 151, 114, 0.2);
    border-top: 3px solid #00a186;
    border-radius: 50%;
    animation: sfb-spin 0.8s linear infinite;
    margin: 10px auto 0;
}

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

/* Responsive */
@media screen and (max-width: 768px) {
    .sfb-floating-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }

    .sfb-dialog {
        width: 95vw;
    }

    .sfb-dialog-content {
        padding: 20px;
    }

    .sfb-dialog h2 {
        font-size: 18px;
    }
}