#goleadSettings,
#goleadSync {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select {
        width: 50%;
        max-width: 100%;
        padding: 5px;
        border-radius: 5px;
    }

    textarea {
        width: 50%;
        min-height: 100px;
    }

    .nav-tab-wrapper {
        border-bottom: 2px solid #007bff;
        margin-bottom: 20px;
    }

    .title-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .button-danger {
        background: #fa3d63;
        border-color: #fa3d63;
        color: #fff;
        text-decoration: none;
        text-shadow: none;
    }

    .nav-tab {
        background-color: #fff;
        border: 1px solid #007bff;
        border-bottom: none;
        padding: 10px 20px;
        margin-right: 5px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        border-radius: 5px 5px 0 0;

        &-active {
            background-color: #007bff !important;
            color: white !important;
            border: 1px solid #007bff;
            border-bottom: none;
        }

        &:hover {
            background-color: #007bff;
            color: #fff;
        }
    }

    input[type="checkbox"] {
        width: 20px;
        height: 20px;
        appearance: none;
        border-radius: 3px;
        background-color: #fff;
        position: relative;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        transition: background-color 0.3s, border-color 0.3s;

        &:checked {
            background-color: #007bff;

            &::after {
                content: "\2714";
                font-size: 16px;
                color: white;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }
}

.image-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f1f1;
    display: inline-block;
    margin-right: 10px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;

    img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }
}

.goleads-loader {
    font-family: Sans-serif !important;
    width: 25px;
    height: 25px;
    border: 5px solid #2271b1;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.errors-form-dialog,
#register-form-errors {
    font-family: "Conthrax", Sans-serif;
    background: #fa3d63;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.errors-form-dialog {
    width: 50%;
}

#register-form-errors {
    width: 100%;
    margin-bottom: 15px;
}

#goleadSync,
#goleadSettings {
    background-color: #fff;
    min-height: 80vh;
    padding: 10px;
}

#goleadSync {
    h1 {
        text-align: center;
    }

    .buttons-sync {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 10px;

        button {
            padding: 10px 20px;
            border-radius: 5px;
            border: none;
            cursor: pointer;
        }
    }

    /* Fondo oscurecido y desenfocado */
    #modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    /* El diálogo */
    #confirmDialogSync {
        z-index: 1000;
        margin: 15px auto 0;
        width: fit-content;
        text-align: center;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 5px;
        position: fixed;
        top: 50%;
        left: calc(50% + 100px);
        transform: translate(-50%, -50%);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }



    #confirmDialog {
        margin: 15px auto 0;
        width: fit-content;
        text-align: center;
        background-color: #d0e9f9;
        padding: 20px;
        border-radius: 5px;
        position: absolute;
        top: calc(50% - 100px);
        left: calc(50% - 150px);
    }

    #sync-form-errors,
    #errorSyncForm {
        font-family: "Conthrax", Sans-serif;
        background: #fa3d63;
        color: #fff;
        padding: 10px;
        width: 50%;
        border-radius: 5px;
        margin: 15px auto;
        text-align: center;
    }

    #progressData {
        margin-top: 20px;
    }

    .progress {
        width: 100%;
        height: 1rem;
        background-color: #e9ecef;
        border-radius: 0.25rem;
        overflow: hidden;
        position: relative;

        .progress-bar {
            height: 100%;
            background-color: #0d6efd;
            transition: width 0.6s ease;

            &-striped {
                background-image: linear-gradient(45deg,
                        rgba(255, 255, 255, 0.15) 25%,
                        transparent 25%,
                        transparent 50%,
                        rgba(255, 255, 255, 0.15) 50%,
                        rgba(255, 255, 255, 0.15) 75%,
                        transparent 75%,
                        transparent);
                background-size: 1rem 1rem;

                &.animated {
                    animation: progress-bar-stripes 1s linear infinite;
                }
            }
        }
    }

    .text-success {
        color: #198754;
    }

    .text-danger {
        color: #dc3545;
    }

    .hidden {
        display: none;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }

    to {
        background-position: 0 0;
    }
}

@media (max-width: 768px) {
    #goleadSettings {

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        select,
        textarea {
            width: 100%;
        }
    }
}

#goleadSync {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;

    .table-sync {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

        th,
        td {
            padding: 12px 15px;
            border: 1px solid #dee2e6;
            text-align: left;
        }

        thead {
            background-color: #f8f9fa;
        }

        tbody {
            tr:nth-child(even) {
                background-color: #f9f9f9;
            }

            tr:hover {
                background-color: #e9ecef;
                cursor: pointer;
            }
        }
    }


}

.badgeGoLeads {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 90%;
    font-weight: 600;
    color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;

    &.badge-success {
        background-color: #28a745;
    }

    &.badge-warning {
        background-color: #ffc107;
        color: #212529;
    }

    &.badge-danger {
        background-color: #dc3545;
    }

    &.badge-info {
        background-color: #17a2b8;
    }
}