/* JQuery Datatable Styles */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #f9a6bb;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #c9a227;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #dede22;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #c9a227;
    color: #fff !important;
    border-radius: 5px;
    border: 1px solid #c9a227;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #dede22;
    color: #fff !important;
    border-radius: 5px;
    border: 1px solid #c9a227;
}

.btn-gold {
    background: linear-gradient(120deg, #c9a227, #dede22, #c9a227, #c9a227);
    background-size: 150%;
    border-radius: 5px;
    border: 1px solid #c9a227;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.text-gold {
    color: #c9a227;
}

.btn-gold:hover {
    color: #fff;
    animation-name: gradient;
    -webkit-animation-name: gradient;
    animation-duration: 0.5s;
    -webkit-animation-duration: s;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100%;
    }
}

/* New styles for permission management UI */
.permission-group-card {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    background-color: var(--bg-light-pink);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 100%; /* Ensure it fills the parent width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.permission-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--primary-color);
}

.permission-group-title {
    margin-bottom: 0;
    color: var(--title-hot-pink);
    font-weight: 600;
    font-size: 1.1rem;
}

.select-all-checkbox .form-check-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.permission-item {
    padding: 5px 16px;
}

.permission-item .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.permission-item .form-check-label {
    color: #333;
    font-size: 0.95rem;
}

.permission-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--primary-color);
}

.permission-group-title {
    margin-bottom: 0;
    color: var(--title-hot-pink);
    font-weight: 600;
    font-size: 1.1rem;
}

.select-all-checkbox .form-check-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.btn-cancel {
    border: 1px solid var(--cancel-color);
    color: #616161;
    font-size: 14px;
}

.btn-cancel:hover {
    border-color: var(--cancel-hover-color);
    color: black;
}

.form-check-input:checked {
    background-color: var(--tertiary-color);
    border-color: gold;
}

tr {
    border-color: #e7e7e7;
    font-size: 14px;
}

.select2-container--default .select2-selection {
    background-color: white;
    border: 1px solid #c9a227 !important;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 11px;
    padding-right: 5px;
    position: relative;
    height: 37px;
    border-radius: 7px;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 20px;
}

/* Common Form Input */
.form-control {
    border: 1px solid #c9a227 !important;
}
.form-select {
    border: 1px solid #c9a227 !important;
}

/* Text */
.title {
    color: #ff5c91;
    font-weight: 600;
}

/* Icon */
.fa-trash-can {
    color: #606060;
}

/* table */
.dataTables_info {
    font-size: 14px;
    color: #4b4b4b !important;
    margin-top: 10px;
}
/* .paginate_button {
    font-size: 14px;
    margin-top: 10px;
} */

.toggle-sidebar-icon {
    font-size: 24px;
    padding-left: 10px;
    cursor: pointer;
    color: #fff;
}

.dropdown-menu {
    border: 1px solid #c9a227 !important;
}

.white-bell-icon {
    color: white !important;
}

.bg-gold {
    background: linear-gradient(120deg, #c9a227, #dede22, #c9a227, #c9a227);
    color: white;
}

.edit-comment-btn {
    color: #c9a227 !important;
    font-weight: 600;
}

.role-card-header {
    background-color: var(--secondary-color);
    color: #fff;
}
