html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.sharp-edge {
    background-color: #004481;
    color: white;
    padding: 5px 15px;
    display: inline-block;
    font-weight: bold;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    0 100% );
    width: 15%;
    margin-bottom: -1px;
}
hr {
    border-top: 2px solid #000; /* adjust thickness and color */
}

/* User Roles Management Styles */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.role-checkboxes {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background-color: #f8f9fa;
}

.custom-checkbox {
    margin-bottom: 8px;
}

.custom-control-label {
    font-weight: 500;
    cursor: pointer;
}

.badge {
    font-size: 0.75em;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

/* Profile History Timeline Styles */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 5px;
    z-index: 1;
}

.timeline-marker .badge {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
}

.timeline-content {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-left: 10px;
}

.timeline-content h6 {
    color: #495057;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 8px;
}

.timeline-content small {
    font-size: 0.875em;
}
h6 {
    color: white !important;
}
.heading_bg {
    background-color:#012c64;
}
    .heading_bg th {
        background-color: #012c64 !important;
        color:white;
    }
/*        .heading_bg th:hover {
            color: #012c64;
            background-color: white;
        }*/
/* ========================================
   DataTables Pagination Styling (Bootstrap 5)
   ======================================== */

/* All pagination links */
.dataTables_wrapper .dataTables_paginate .page-item .page-link {
    color: #012c64; /* text color */
    background-color: #ffffff; /* background */
    border: 1px solid #012c64; /* border */
    margin: 0 2px; /* spacing */
    border-radius: 6px; /* rounded corners */
    transition: background-color 0.2s ease, color 0.2s ease;
}

    /* Hover state */
    .dataTables_wrapper .dataTables_paginate .page-item .page-link:hover {
        background-color: #012c64; /* dark blue on hover */
        color: #ffffff; /* white text */
    }

/* Active (current page) */
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: #0056b3; /* slightly lighter blue */
    color: #ffffff; /* white text */
    border-color: #0056b3;
}

/* Disabled (Previous/Next when inactive) */
.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    background-color: #e9ecef; /* light gray */
    color: #6c757d; /* gray text */
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

