﻿.disabled-link {
    color: var(--bs-btn-disabled-color);
    pointer-events: none;
    opacity: var(--bs-btn-disabled-opacity);
    box-shadow: none;
}
input[type="checkbox"] {
    accent-color: #7460ee;
}

.form-check-input:checked {
    background-color: #7460ee;
    border-color: #7460ee;
}

#inviteFriendBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);

    /* let the button size itself to its contents */
    width: auto !important;
    height: auto !important;

    /* add a little breathing room */
    padding: 0.375rem 0.75rem !important;

    /* keep the text all on one line */
    white-space: nowrap;
    font-size: 12px;
    background-color: var(--bs-light);
}

#inviteFriendBtn:hover {
    color: var(--bs-light);
    background-color: var(--bs-primary);
}

/*--------------------------------------------------------------
# Datatable
--------------------------------------------------------------*/

/* Change text color of pagination links */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--accent-color) !important; /* Example: Bootstrap primary blue */
}

/* Change background color on hover */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--accent-color) !important;
    border: none !important;
}

/* Change background and text color for the active page */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--accent-color) !important;
    border: none !important;
}

.table-responsive .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--accent-color) !important;
    border: var(--accent-color) !important;
}
.sc-card {
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    background: #fff;
}
.sc-list-group .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}
.sc-list-group .list-group-item:last-child {
    border-bottom: none;
}
.sc-badge {
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 1em;
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}
.sc-category-badge {
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 1em;
    background: #f3e5f5;
    color: #6a1b9a;
    font-weight: 600;
}
.sc-rule-number {
    font-weight: bold;
    color: #1976d2;
    margin-right: 0.5em;
}
/* Barra de progreso redondeada para categor�as */
.sc-progress-rounded {
    border-radius: 1rem !important;
    overflow: hidden;
    background: #e0e0e0;
    height: 22px;
}
.sc-progress-bar-rounded {
    border-radius: 1rem !important;
    background: #a5d6a7;
    height: 100%;
    transition: width 0.6s ease;
}
.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}