/* Hide the native checkbox */
.custom-checkbox input[type='checkbox'] {
    display: none;
}

/* Create the fake box */
.custom-checkbox label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid #6f42c1;
    border-radius: 4px;
    background: #fff;
    transition: background 0.3s, border-color 0.3s;
}

.custom-checkbox input[type='checkbox']:checked + label::before {
    background: #6f42c1;
    border-color: #6f42c1;
}

/* Add the checkmark */
.custom-checkbox label::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 0px;
    font-size: 16px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.custom-checkbox input[type='checkbox']:checked + label::after {
    opacity: 1;
}


.accordion .card-header {
    background: radial-gradient(circle,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
    color: #fff;
    cursor: pointer;
    /*border-bottom: 1px solid #ddd;*/
    border-radius:10px;
}
.accordion .card-header:hover {
    background: radial-gradient(circle, rgba(148, 187, 233, 1) 0%, rgba(238, 174, 202, 1) 100%);
    transform: translateY(-3px);
}
.accordion .card:not(:first-of-type) .card-header:first-child {
    border-radius:10px !important;
}

/* Form checkboxes */
.custom-form-check-inline {
    margin-right: 15px;
}

/* Result table */
#dataResult table {
    border-radius: 8px;
    overflow: hidden;
}
#dataResult th, #dataResult td {
    vertical-align: middle;
}

/* Button hover animations */
#result__container button {
    transition: all 0.2s ease-in-out;
}
#result__container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* SweetAlert buttons */
.swal2-popup {
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.btn-blue {
    background-color: #94bbe9;
    color: #fff;
    border: none;
}
.btn-blue:hover {
    background-color: #7aa8e4;
}
.bg-soft-pink {
    background-color: #e892bf;
}
