:root {
  --primary-color: #2563eb;
  --success-color: #10b981;
  --danger-color: #e11d48;
  --light-color: #f9fafb;
  --dark-color: #374151;
  --border-color: #e6e9ee;
  --gray-color: #6b7280;
  --validation-tick-color: #327cc8;
}

* {
  font-family: Inter, sans-serif;
}

.custom-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--success-color);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  animation:
    slideIn 0.3s ease,
    slideOut 0.3s ease 1.7s;
}

.custom-toast.error {
  background-color: var(--danger-color);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 0;
}

.search-filter {
  display: flex;
  gap: 12px;
  flex: 1;
  align-items: center;
}

/* 2.1 Search input with icon */
.search-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0 12px 0 36px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  color: var(--dark-color);
}

/* 2.2 Filter dropdowns with chevron icon */
.select-filter-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-filter-wrapper .dropdown-filter {
  padding-right: 32px;
}

.filter-dropdown-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--gray-color);
  pointer-events: none;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.search-input.disabled {
  background-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

/* Modal/popup inputs — same base style as search-input but without left icon padding */
.modal-input {
  width: 100%;
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  color: var(--dark-color);
}

.modal-input::placeholder {
  color: #9ca3af;
}

.modal-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.modal-input.disabled {
  background-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.dropdown-filter {
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-position: right 12px center;
  background-repeat: no-repeat;
}

.dropdown-filter:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.select-wrapper {
  position: relative;
}

.select-wrapper label {
  position: relative;
}

.select-container {
  position: relative;
  display: flex;
  align-items: center;
}

.select-container select.dropdown-filter {
  padding-right: 36px;
  width: 100%;
}

.select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gray-color);
  pointer-events: none;
}

.select-container select:focus + .select-icon {
  color: var(--primary-color);
}

.page-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-invite-user:hover {
  background-color: #1d4ed8;
}

.btn-invite-user:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.btn-add-user:hover {
  background-color: #1d4ed8;
}

.btn-add-user:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.user-table {
  overflow: visible;
}

.user-table th {
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0.75rem;
  color: var(--primary-color);
  background-color: var(--light-color);
  font-size: 0.875rem;
}

.user-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #f1f3f4;
  vertical-align: middle;
  font-size: 0.875rem;
  position: relative;
  /* 2.11: wrap long text */
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 200px;
}

/* 2.10: email column — slightly more left padding */
.user-table td:nth-child(2) {
  padding-left: 1.25rem;
}

.user-table tbody tr:hover {
  background-color: rgba(0, 102, 255, 0.02);
  cursor: pointer;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: black;
}

.status-badge.active {
  background-color: #00d18933;
}

.status-badge.inactive {
  background-color: #dd3b3a33;
}

.action-menu {
  position: relative;
  text-align: center;
  display: inline-block;
}

.action-icon {
  cursor: pointer;
  font-size: 1rem;
  color: var(--dark-color);
  transition: color 0.2s ease;
  vertical-align: middle;
}

.action-icon:hover {
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 150px;
  white-space: nowrap;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--light-color);
}

.table-responsive {
  overflow: visible !important;
}

.card-body {
  overflow: visible !important;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-color);
}

.empty-state h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.swal2-popup {
  max-width: 560px;

  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: Inter, system-ui, sans-serif;
  text-align: left;
}

.swal-invite-popup {
  max-width: 400px !important;
  position: relative;
}

.swal-invite-popup .swal2-close,
.swal-add-user-popup .swal2-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: #e8e8ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #9ca3af;
  transition: background-color 0.2s;
}

.swal-invite-popup .swal2-close:hover,
.swal-add-user-popup .swal2-close:hover {
  background-color: #d1d5db;
}

.swal-invite-popup .swal2-actions {
  justify-content: flex-end;
}

.swal-invite-popup .swal2-cancel {
  background: none;
  color: #327cc8;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border: none;
}

.swal-invite-popup .swal2-cancel:hover {
  background-color: none;
  color: #327cc8;
}

.swal-invite-popup .swal2-confirm {
  background-color: var(--primary-color);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
}

.swal-invite-popup .swal2-confirm:hover {
  background-color: #1d4ed8;
}

.swal-invite-popup .swal2-confirm:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.swal2-title {
  font-size: 32px;
  font-weight: 700;
  color: #424242;
  margin-bottom: 16px;
  text-align: center;
  font-family: Inter, sans-serif;
}

.add-user-tabs {
  width: 100%;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  padding: 8px 12px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: var(--light-color);
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
  background-color: #e5e7eb;
}

.sub-tab-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.sub-tab-btn {
  flex: 1;
  padding: 6px 10px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tab-btn.active {
  background-color: var(--light-color);
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  border-radius: 4px 4px 0 0;
}

.sub-tab-btn:hover {
  background-color: #e5e7eb;
}

.tab-content {
  padding: 0;
  text-align: left;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.sub-tab-content {
  text-align: left;
}

.sub-tab-pane {
  display: none;
}

.sub-tab-pane.active {
  display: block;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  font-family: Inter, sans-serif;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #727688;
  margin-bottom: 6px;
}

.form-group label.required::after,
.sub-tab-btn.required::after {
  content: "*";
  color: var(--danger-color);
  margin-left: 4px;
}

.role-info-icon {
  margin-left: 6px;
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
  vertical-align: middle;
  transition: color 0.2s;
}

.role-info-icon:hover {
  color: #327cc8;
}

.role-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  z-index: 1000;
  min-width: 350px;
  max-width: 400px;
}

.role-tooltip.show {
  display: block;
}

.tooltip-content {
  font-size: 13px;
  line-height: 1.5;
}

.tooltip-item {
  margin-bottom: 10px;
  color: #6b7280;
}

.tooltip-item:last-child {
  margin-bottom: 0;
}

.tooltip-item strong {
  color: #374151;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  box-sizing: border-box;
}

.form-group input[type="file"] {
  padding: 8px;
}

.password-field {
  position: relative;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gray-color);
}

.password-input-wrapper .search-input {
  padding-left: 36px;
  padding-right: 36px;
}

.password-input-wrapper .modal-input {
  padding-left: 36px;
  padding-right: 36px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gray-color);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--primary-color);
}

.validation-hints div {
  margin-top: 4px;
  font-size: 12px;
  color: #727688;
  position: relative;
  padding-left: 20px;
}

.validation-hints div::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #d3d3df;
  font-size: 12px;
}

.validation-hints div.valid {
  color: #727688;
}

.validation-hints div.valid::before {
  color: #327cc8;
}

.error-text {
  font-size: 12px;
  color: var(--danger-color);
  margin-top: 4px;
  text-align: left;
}

.field-error {
  font-size: 12px;
  color: var(--danger-color);
  margin-top: 4px;
  text-align: left;
}

.search-input.is-invalid,
.modal-input.is-invalid {
  border-color: var(--danger-color);
  background-image: none;
}

.search-input.is-invalid:focus,
.modal-input.is-invalid:focus {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(225, 29, 72, 0.25);
  background-image: none;
}

.upload-csr {
  border: 2px dashed #dce6f2;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.upload-csr:hover {
  background-color: #e5e7eb;
  border-color: var(--primary-color);
}

.upload-csr i {
  font-size: 24px;
  color: var(--gray-color);
  margin-bottom: 8px;
}

.upload-csr p {
  font-size: 14px;
  color: var(--gray-color);
  margin: 0;
}

.upload-csr a {
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: underline;
}

.upload-csr a:hover {
  color: #1d4ed8;
}

.upload-csr.dragover {
  background-color: #e8f4fc;
  border-color: var(--primary-color);
  border-style: solid;
}

.upload-csr.dragover i {
  color: var(--primary-color);
}

.private-key-box {
  background-color: var(--light-color);
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.private-key-box:hover {
  background-color: #e5e7eb;
}

.private-key-box i {
  font-size: 16px;
  color: var(--gray-color);
}

.swal2-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.swal-custom-popup .swal2-actions {
  justify-content: flex-end;
}

.swal-custom-popup .swal2-confirm {
  background-color: #327cc8;
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
}

.swal-custom-popup .swal2-confirm:hover {
  background-color: #1d4ed8;
}

.swal-custom-popup .swal2-confirm:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.swal-add-user-popup .swal2-cancel {
  background: none !important;
  color: #327cc8 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border: none;
}

.swal-add-user-popup .swal2-cancel:hover {
  background: none !important;
  color: #327cc8 !important;
}

.swal2-confirm {
  background-color: var(--primary-color);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
}

.swal2-confirm:hover {
  background-color: #1d4ed8;
}

.swal2-confirm:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.swal-custom-popup {
  font-family: Inter, sans-serif;
  border-radius: 16px;
  padding: 40px 20px;
  position: relative;
}

.swal-custom-popup .swal2-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: #e8e8ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #9ca3af;
  transition: background-color 0.2s;
}

.swal-custom-popup .swal2-close:hover {
  background-color: #d1d5db;
}

.swal-custom-title {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 24px;

  color: #424242;
  margin: 0;
  padding-top: 0;
}

.btn-custom {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-custom-activate,
.btn-custom-deactivate,
.btn-custom-cancel,
.btn-custom-save {
  font-family: Inter, sans-serif;
  font-weight: 700;
  width: 150px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-invite-user,
.btn-add-user {
  font-family: Inter, sans-serif;
  font-weight: 700;
  width: 150px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(180deg, #4685ff 0%, #246cf9 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-custom-activate {
  background-color: #327cc8;
}

.btn-custom-activate:hover {
  background-color: #2a6ba8;
}

.btn-custom-deactivate {
  background-color: #b9302f;
}

.btn-custom-deactivate:hover {
  background-color: #992828;
}

.btn-custom-cancel {
  background: #e2e2ec;
  color: #424242;
  border: none;
}

.btn-custom-cancel:hover {
  background: #d0d0da;
}

.btn-custom-save {
  background-color: #327cc8;
}

.btn-custom-save:hover {
  background-color: #2a6ba8;
}

.swal-edit-user-popup .swal2-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: #e8e8ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #9ca3af;
  transition: background-color 0.2s;
}

.swal-edit-user-popup .swal2-close:hover {
  background-color: #d1d5db;
}

.swal-edit-user-popup .swal2-title {
  text-align: left;
  width: 100%;
}

.swal-edit-user-popup .form-group label {
  color: #212529;
}

.swal-edit-user-popup .modal-input.disabled {
  color: #212529;
  -webkit-text-fill-color: #212529;
  opacity: 1;
}

.swal-edit-user-popup .swal2-actions {
  justify-content: flex-end;
}

.swal-edit-user-popup .btn-custom-cancel {
  background: none;
  color: #327cc8;
}

.swal-edit-user-popup .btn-custom-cancel:hover {
  background: #f8f9fa;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.spinner-border {
  display: inline-block;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    gap: 1rem;
  }
  .search-filter {
    flex-direction: column;
    width: 100%;
  }
  .search-input,
  .dropdown-filter {
    width: 100%;
  }
  .page-header-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn-invite-user,
  .btn-add-user {
    width: 100%;
    justify-content: center;
  }
  .user-table th,
  .user-table td {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  .swal2-popup {
    width: 90%;
  }
}

/* Status Popup Styles (Activate/Deactivate/Delete) */
.swal-status-popup {
  font-family: Inter, sans-serif;
  width: 484px !important;
  border-radius: 16px;
  padding: 48px 64px !important;
  text-align: center;
}

.swal-status-popup .swal2-html-container {
  margin: 0;
  padding: 0;
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swal-status-popup .swal2-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: #e8e8ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #9ca3af;
  transition: background-color 0.2s;
}

.swal-status-popup .swal2-close:hover {
  background-color: #d1d5db;
}

.status-popup-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.status-popup-title {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #424242;
  margin: 0;
  text-align: center;
}

.status-popup-icon {
  width: 148px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-popup-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.status-popup-text {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: black;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  gap: 16px;
}

.swal-status-popup .swal2-actions,
.swal-status-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 15px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.btn-status-cancel {
  font-family: "Be Vietnam Pro", Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  width: 184px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background-color: #e2e2ec;
  color: #000000;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-status-cancel:hover {
  background-color: #d1d1db;
  color: #000000;
}

.btn-status-confirm {
  font-family: "Be Vietnam Pro", Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  width: 184px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-status-activate {
  background-color: #327cc8;
}

.btn-status-activate:hover {
  background-color: #2a6ab0;
}

.btn-status-deactivate {
  background-color: #df2d2d;
}

.btn-status-deactivate:hover {
  background-color: #c52828;
}

.btn-status-delete {
  background-color: #df2d2d;
}

.btn-status-delete:hover {
  background-color: #c52828;
}

/* Pagination Styles */
.pagination-info {
  font-size: 14px;
}

.pagination {
  margin: 0;
}

.pagination .page-link {
  color: #6c757d;
  border: 1px solid #dee2e6;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  margin: 0 0.125rem;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  color: #246cf9;
  background-color: #e9ecef;
  border-color: #246cf9;
}

.pagination .page-item.active .page-link {
  background-color: #246cf9;
  border-color: #246cf9;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
  cursor: not-allowed;
}

.pagination .page-item:first-child .page-link {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.pagination .page-item:last-child .page-link {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
