:root {
    --brightlink-blue: #0091B3;
    --brightlink-green: #3FAE2A;
    --brightlink-orange: #FF9900;
    --brightlink-grey: #7E8689;
    --light-blue: #E6F3F7;
    --light-green: #E8F5E9;
    --light-grey: #F2F3F3;
}
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Card styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn:not(.toggle-handle){
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--brightlink-blue);
    border: none;
}
.btn-outline-primary {
    --bs-btn-color: var(--brightlink-blue);
    --bs-btn-border-color: var(--brightlink-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brightlink-blue);
    --bs-btn-hover-border-color: var(--brightlink-blue);
    --bs-btn-active-bg: var(--brightlink-blue);
    --bs-btn-active-border-color: var(--brightlink-blue);
}
.btn-primary:hover {
    background-color: #007a96;
}
.btn-warning {
    background-color: var(--brightlink-orange);
    border: none;
}
.btn-warning:hover {
    background-color: #e68a00;
}

/* New styles for small buttons */
.btn-sm {
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

/* Form control styles */
.form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px;
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 145, 179, 0.25);
}

/* Input group styles */
.input-group .btn {
    /* Override the custom border radius for buttons inside of an input group.
       In this case, use the default border radius. */
    border-radius: var(--bs-btn-border-radius);
}

.input-group .form-control {
    /* Override the custom padding for form controls inside of an input group.
       In this case, use the default padding. */
    padding: .375rem .75rem;
}

/* Badge styles */
.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
}

/* Text styles */
.text-muted {
    color: #6c757d !important;
}

/* Icon circle styles */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-blue);
    color: var(--brightlink-blue);
    margin-right: 10px;
}

/* Background color utilities */
.bg-light-blue {
    background-color: var(--light-blue);
}
.bg-light-green {
    background-color: var(--light-green);
}

/* Border utilities */
.border-left-blue {
    border-left: 4px solid var(--brightlink-blue);
}

/* New styles for additional Bootstrap 5 elements */
/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-weight: 700;
    color: var(--brightlink-blue);
}
.nav-link {
    font-weight: 500;
    color: var(--brightlink-grey);
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link:focus {
    color: var(--brightlink-blue);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--light-blue);
}

/* Alert */
.alert {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
}
.alert-primary {
    background-color: var(--light-blue);
    color: var(--brightlink-blue);
}
.alert-success {
    background-color: var(--light-green);
    color: var(--brightlink-green);
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--brightlink-blue);
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.pagination .page-link:hover {
    background-color: var(--light-blue);
    color: var(--brightlink-blue);
}
.pagination .page-item.active .page-link {
    background-color: var(--brightlink-blue);
    color: #ffffff;
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 15px;
}
.modal-header {
    border-bottom: none;
    padding: 20px 30px;
}
.modal-footer {
    border-top: none;
    padding: 20px 30px;
}

/* Table */
.table {
    border-collapse: separate;
    border-spacing: 0 10px;
}
.table thead th {
    border-bottom: none;
    color: var(--brightlink-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table tbody tr {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.table tbody tr:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.table td, .table th {
    border: none;
    padding: 15px;
    vertical-align: middle;
}
.table-sm td, .table-sm th {
  padding: .25rem .25rem;
}

/* datatables overrides*/
table.table.dataTable{
    border-spacing: 0 10px !important;
}

/* Progress bar */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: var(--light-blue);
}
.progress-bar {
    background-color: var(--brightlink-blue);
    border-radius: 5px;
}

/* List group */
.list-group-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.list-group-item:hover {
    background-color: var(--light-blue);
}

/* Tooltip */
.tooltip .tooltip-inner {
    background-color: var(--light-grey);
    border-radius: 5px;
    padding: 8px 12px;
}
.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
    border-top-color: var(--brightlink-blue);
}

/* Custom switch */
.custom-switch .custom-control-label::before {
    border-radius: 20px;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--brightlink-green);
    border-color: var(--brightlink-green);
}

/* Accordion */
.accordion-button {
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    padding: 15px 20px;
    font-weight: 600;
    color: var(--brightlink-blue);
}
.accordion-button:not(.collapsed) {
    background-color: var(--light-blue);
    color: var(--brightlink-blue);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: var(--brightlink-blue);
}
.accordion-body {
    padding: 20px;
    background-color: #ffffff;
}

/* bootstrap-fileupload */
.fileupload .btn {
    max-height: none !important;
}


.not-allowed {
    cursor: not-allowed;
}

/* BrightLink light contextual backgrounds */
.bl-bg-success-light {
    background-color: #dff0d8 !important;
    color: #3c763d !important;
}

.bl-bg-danger-light {
    background-color: #f2dede !important;
    color: #a94442 !important;
}

.bl-bg-warning-light {
    background-color: #fcf8e3 !important;
    color: #8a6d3b !important;
}

.bl-bg-info-light {
    background-color: #d9edf7 !important;
    color: #31708f !important;
}

.bl-bg-secondary-light {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
}
