html {
  font-size: 14px;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  .programs-container {
    padding: 1rem;
  }

  .programs-header {
    padding: 1rem;
  }

  .programs-header h2 {
    font-size: 1.5rem;
  }

  .programs-table {
    overflow-x: auto;
  }

  .action-buttons {
    flex-direction: column;
  }
}

.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 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px; /* Space for fixed header */
  padding-bottom: 72px; /* Space for fixed footer to avoid overlap */
}

/* Fixed header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: white;
}

.main-content {
  flex: 1;
  padding-top: 1rem;
}

/* Footer fixed to bottom, with safe body padding above */
.ant-layout-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

.bt-init {
  border: 1px solid #ffffff;
  border-radius: 5px;
  background: #19b9da;
  padding: 2px 16px;
  color: #fff;
}

.bt-back {
  border: 1px solid #ffffff;
  border-radius: 5px;
  background: #464e50;
  padding: 2px 16px 5px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.swipe-container {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
  margin-top: 10px !important;
}

.swipe-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.swipe-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.swipe-label .swipe-inner {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 1px;
  bottom: 0px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.swipe-checkbox:checked + .swipe-label {
  background-color: #2196f3;
}

.swipe-checkbox:checked + .swipe-label .swipe-inner {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*Processor*/
.progress-container {
  width: 100%;
  height: 20px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
}

.progress-bar {
  height: 100%;
  background-color: #4caf50;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

.progress-text {
  margin-left: 10px;
  font-weight: bold;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.btn-primary {
  background-color: #f27225 !important;
  border-color: #f27225 !important;
}

.tabs {
  width: 100%;
  background-color: #f1f1f1;
  border-bottom: 1px solid #ccc;
}

.tabs ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.tabs li {
  float: left;
}

.tabs li a {
  display: block;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: 0.3s;
}

.tabs li a:hover {
  background-color: #ddd;
}

.tabs li.active a {
  background-color: #fff;
  border: 1px solid #ccc;
  border-bottom: none;
  position: relative;
  top: 1px;
}

/* Clear floats after the tabs */
.tabs:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 600px) {
  .tabs li {
    float: none;
    display: block;
    text-align: left;
  }
}

.bt-approve {
  background-color: #f27225;
  color: #fff;
}

.bt-reject {
  background-color: #dc3545;
  color: #fff;
}

.programs-container {
  margin: 0 auto;
  min-height: 100vh;
}

/* Filter and Create Section */
.filter-create-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  gap: 1rem;
}

.filter-section {
  flex: 1;
}

.search-filter-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-box {
  position: relative;
  flex: 2;
  min-width: 250px;
}

.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 5;
}

.search-box input {
  padding-left: 3rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.search-box input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.filter-dropdown {
  flex: 1;
  min-width: 150px;
}

.filter-dropdown select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  background-color: white;
}

.filter-dropdown select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.create-section {
  flex-shrink: 0;
}

/* Responsive design for filter section */
@media (max-width: 992px) {
  .filter-create-section {
    flex-direction: column;
    align-items: stretch;
  }

  .search-filter-row {
    flex-wrap: wrap;
  }

  .search-box {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }

  .filter-dropdown {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

@media (max-width: 576px) {
  .filter-dropdown {
    flex: 1 1 100%;
  }
}

.programs-header {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.programs-header h2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.programs-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 1rem;
}

.btn-create {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
  margin-bottom: 1.5rem;
}

.btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
}

.programs-table {
  background: white;
  border-radius: 15px;
  overflow-x: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.programs-table table {
  min-width: 1200px;
  white-space: nowrap;
}

.programs-table th,
.programs-table td {
  padding: 12px 8px;
  vertical-align: middle;
}

.programs-table th {
  position: sticky;
  top: 0;
  z-index: 10;
}

.programs-table .action-buttons {
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.programs-table .row-number {
  font-weight: 600;
  color: #6c757d;
  text-align: center;
  display: block;
  padding: 4px;
}

.programs-table th:first-child,
.programs-table td:first-child {
  width: 60px;
  text-align: center;
  min-width: 60px;
}

.programs-table th:nth-child(2),
.programs-table td:nth-child(2) {
  width: 50px;
  min-width: 50px;
}

.action-toggle-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
  font-size: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle:hover {
  background: #e9ecef;
  color: #495057;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-toggle.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.action-toggle-container .action-buttons {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: 4px;
  white-space: nowrap;
}

.action-toggle-container .action-buttons::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #dee2e6;
}

.action-toggle-container .action-buttons::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid white;
}

/* Pagination Styles */
.pagination-info {
  font-size: 14px;
}

.page-size-selector {
  display: flex;
  align-items: center;
}

.page-size-selector .form-select {
  min-width: 70px;
}

.pagination .page-link {
  color: #007bff;
  border: 1px solid #dee2e6;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.pagination .page-link:hover {
  color: #0056b3;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
  cursor: not-allowed;
}

.pagination .page-link i {
  font-size: 0.75rem;
}

/* Filter Actions */
.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-actions .btn {
  white-space: nowrap;
}

/* Pagination Info Left */
.pagination-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pagination-info-left .page-size-selector {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.pagination-info-left .page-size-selector .form-select {
  min-width: 70px;
}

/* Responsive pagination */
@media (max-width: 576px) {
  .pagination-info {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start;
  }

  .pagination {
    margin-top: 10px;
  }

  .page-size-selector {
    margin-bottom: 10px;
  }

  .filter-actions {
    flex-direction: column;
    width: 100%;
  }

  .filter-actions .btn {
    width: 100%;
  }
}

.programs-table .btn-action {
  white-space: nowrap;
  padding: 8px;
  font-size: 14px;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.programs-table .btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.programs-table table {
  margin: 0;
  width: 100%;
}

.programs-table thead {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  color: white;
}

.programs-table thead th {
  padding: 1rem;
  font-weight: 600;
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.programs-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.programs-table tbody tr:hover {
  background: #f8f9fa;
  transition: background 0.3s ease;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-action {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}

.btn-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 193, 7, 0.4);
  color: #212529;
  text-decoration: none;
}

.btn-details {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
}

.btn-details:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(23, 162, 184, 0.4);
  color: white;
  text-decoration: none;
}

.btn-delete {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.btn-delete:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
  color: white;
  text-decoration: none;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-inactive {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.currency {
  font-weight: 600;
  color: #28a745;
}

.program-code {
  font-family: "Courier New", monospace;
  background: #e9ecef;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  color: #495057;
}

.program-name {
  font-weight: 600;
  color: #007bff;
}

.description-text {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.users-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.users-header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 2.5rem;
}

.users-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

.search-filter-section {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
}

.search-box input {
  padding-left: 3rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.users-table-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.users-table {
  margin: 0;
}

.users-table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.users-table thead th {
  border: none;
  padding: 1.2rem 1rem;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.users-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f8f9fa;
}

.users-table tbody tr:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.users-table tbody td {
  padding: 1.2rem 1rem;
  vertical-align: middle;
  border: none;
}

.user-email {
  font-weight: 500;
  color: #495057;
}

.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-confirmed {
  background-color: #d4edda;
  color: #155724;
}

.status-unconfirmed {
  background-color: #f8d7da;
  color: #721c24;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-action {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background-color: #17a2b8;
  color: white;
}

.btn-edit:hover {
  background-color: #138496;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-delete {
  background-color: #dc3545;
  color: white;
}

.btn-delete:hover {
  background-color: #c82333;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.create-user-section {
  text-align: center;
  margin-top: 2rem;
}

.btn-create-user {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-create-user:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-card h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.stat-card p {
  margin: 0.5rem 0 0 0;
  color: #6c757d;
  font-weight: 500;
}

.stat-total {
  color: #667eea;
}

.stat-confirmed {
  color: #28a745;
}

.stat-unconfirmed {
  color: #dc3545;
}

.stat-recent {
  color: #ffc107;
}
.edit-user-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.edit-user-header {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px 15px 0 0;
  text-align: center;
  margin-bottom: 0;
}

.edit-user-header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 2rem;
}

.edit-user-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 1rem;
}

.edit-user-form {
  background: white;
  padding: 2.5rem;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-floating input,
.form-floating select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-floating input:focus,
.form-floating select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.with-icon {
  position: relative;
}

.form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 5;
  font-size: 1rem;
}

.with-icon input,
.with-icon select {
  padding-left: 3rem;
}

.role-selection {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.role-selection h6 {
  color: #495057;
  font-weight: 600;
  margin-bottom: 1rem;
}

.role-checkbox {
  margin-bottom: 0.75rem;
}

.role-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.role-checkbox label {
  font-weight: 500;
  color: #495057;
  cursor: pointer;
}

.current-roles {
  background: #e3f2fd;
  border: 2px solid #2196f3;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.current-roles h6 {
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.role-badge {
  display: inline-block;
  background: #2196f3;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-update {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-update:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
  color: white;
}

.btn-cancel {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-cancel:hover {
  background: #5a6268;
  transform: translateY(-2px);
  color: white;
}

.alert {
  border-radius: 10px;
  border: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
}
.delete-user-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 0;
}

.delete-warning-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px 15px 0 0;
  text-align: center;
  margin-bottom: 0;
}

.delete-warning-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.delete-warning-header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 1.8rem;
}

.delete-warning-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 1rem;
}

.delete-confirmation-content {
  background: white;
  padding: 2.5rem;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-info-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.user-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.user-email {
  font-size: 1.2rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.user-id {
  font-size: 0.9rem;
  color: #6c757d;
  font-family: monospace;
}

.warning-message {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 1px solid #ffeaa7;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.warning-message i {
  font-size: 2rem;
  color: #856404;
  margin-bottom: 1rem;
}

.warning-message h5 {
  color: #856404;
  font-weight: 600;
  margin-bottom: 1rem;
}

.warning-message p {
  color: #856404;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.consequences-list {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.consequences-list h6 {
  color: #721c24;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.consequences-list h6 i {
  margin-right: 0.5rem;
}

.consequences-list ul {
  margin: 0;
  padding-left: 1.5rem;
}

.consequences-list li {
  color: #721c24;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.confirmation-checkbox {
  background: #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.confirmation-checkbox label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  margin: 0;
}

.confirmation-checkbox input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #dc3545;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-delete-confirm {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.btn-delete-confirm:hover:not(:disabled) {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-delete-confirm:disabled {
  background: #6c757d;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-cancel {
  background: #6c757d;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  display: inline-block;
}

.btn-cancel:hover {
  background: #5a6268;
  color: white;
  transform: translateY(-1px);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #dc3545;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.create-user-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.create-user-header {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px 15px 0 0;
  text-align: center;
  margin-bottom: 0;
}

.create-user-header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 2rem;
}

.create-user-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 1rem;
}

.create-user-form {
  background: white;
  padding: 2.5rem;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-floating input {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-floating input:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-floating label {
  color: #6c757d;
  font-weight: 500;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group-text {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #e9ecef;
  border-right: none;
  color: #495057;
  font-weight: 500;
}

.password-toggle {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #28a745;
}

.password-requirements {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.password-requirements h6 {
  color: #495057;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.requirement {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.requirement i {
  margin-right: 0.5rem;
  width: 1rem;
}

.requirement.valid {
  color: #28a745;
}

.requirement.invalid {
  color: #dc3545;
}

.btn-create {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-create:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-create:disabled {
  background: #6c757d;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-cancel {
  background: #6c757d;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  display: inline-block;
}

.btn-cancel:hover {
  background: #5a6268;
  color: white;
  transform: translateY(-1px);
}

.btn-action {
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s ease;
}

.btn {
  border-radius: 25px;
  padding: 8px 20px;
}

.btn-edit {
  background: #17a2b8;
  color: white;
}

.btn-edit:hover {
  background: #138496;
  transform: translateY(-1px);
}

.btn-detail {
  background: #28a745;
  color: white;
}

.btn-detail:hover {
  background: #218838;
  transform: translateY(-1px);
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.btn-delete:hover {
  background: #c82333;
  transform: translateY(-1px);
}
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.alert-info {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
  margin-bottom: 1.5rem;
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 5;
}

.form-floating.with-icon input {
  padding-left: 3rem;
}

.form-floating.with-icon label {
  padding-left: 3rem;
}
.border-radius-10 {
  border-radius: 10px;
}
.border-radius-40 {
  border-radius: 40px;
}

/* FSB Program Details Styles */
.program-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.program-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info-card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.2s;
}

.info-card:hover {
  transform: translateY(-2px);
}

.qr-container {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px dashed #dee2e6;
}

.detail-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
}

.detail-value {
  color: #6c757d;
}

.fee-display {
  font-size: 1.25rem;
  font-weight: bold;
  color: #28a745;
}

/* Tab styles for FSB Program Details */
#tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 2px solid #e9ecef;
  background: white;
  border-radius: 10px 10px 0 0;
}

#tabs li {
  margin-right: 5px;
}

#tabs li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  color: #495057;
  font-weight: 500;
  transition: all 0.3s;
}

#tabs li a:hover {
  background-color: #e9ecef;
  color: #007bff;
}

#tabs li a.active {
  background-color: white;
  border-bottom: 2px solid white;
  font-weight: 600;
  color: #007bff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

#tab-content {
  border: 1px solid #dee2e6;
  padding: 1rem;
  margin-top: -1px;
  background-color: white;
  min-height: 200px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

/* Index Pages Styles */
.students-container,
.courses-container,
.promotions-container {
  padding: 1rem;
}

.students-header,
.courses-header,
.promotions-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.students-controls,
.courses-controls,
.promotions-controls {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.students-table,
.courses-table,
.promotions-table {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  overflow: hidden;
}

.students-table .table,
.courses-table .table,
.promotions-table .table {
  margin-bottom: 0;
}

.students-table thead th,
.courses-table thead th,
.promotions-table thead th {
  background: #f8f9fa;
  border: none;
  font-weight: 600;
  color: #495057;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.students-table thead th i,
.courses-table thead th i,
.promotions-table thead th i {
  margin-right: 0.5rem;
}

.students-table thead th .fas.fa-sort,
.courses-table thead th .fas.fa-sort,
.promotions-table thead th .fas.fa-sort,
.students-table thead th .fas.fa-sort-up,
.courses-table thead th .fas.fa-sort-up,
.promotions-table thead th .fas.fa-sort-up,
.students-table thead th .fas.fa-sort-down,
.courses-table thead th .fas.fa-sort-down,
.promotions-table thead th .fas.fa-sort-down {
  margin-left: 0.5rem;
  margin-right: 0;
}

.students-table thead th:hover,
.courses-table thead th:hover,
.promotions-table thead th:hover {
  background: #e9ecef;
}

.students-table tbody td,
.courses-table tbody td,
.promotions-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-color: #f8f9fa;
}

.student-avatar,
.course-icon,
.promotion-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.students-pagination,
.courses-pagination,
.promotions-pagination {
  margin-top: 1.5rem;
}

.sortable {
  cursor: pointer;
  user-select: none;
}

.sortable:hover {
  background: #e9ecef !important;
}

.sortable i.fa-sort,
.sortable i.fa-sort-up,
.sortable i.fa-sort-down {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.sortable:hover i.fa-sort,
.sortable:hover i.fa-sort-up,
.sortable:hover i.fa-sort-down {
  opacity: 1;
}

@media (max-width: 768px) {
  .students-container,
  .courses-container,
  .promotions-container {
    padding: 0.5rem;
  }

  .students-header,
  .courses-header,
  .promotions-header {
    padding: 1rem;
    text-align: center;
  }

  .students-controls .row,
  .courses-controls .row,
  .promotions-controls .row {
    flex-direction: column;
  }

  .students-controls .col-md-6,
  .courses-controls .col-md-6,
  .promotions-controls .col-md-6 {
    margin-bottom: 1rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    margin-bottom: 0.25rem;
  }
}

/* Students Table Enhanced Styles */
.students-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.search-filter-section {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modern-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modern-table thead th {
  border: none;
  padding: 15px 12px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.modern-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.modern-table tbody tr:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modern-table tbody td {
  padding: 12px;
  vertical-align: middle;
  border: none;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-paid {
  background: #d4edda;
  color: #155724;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-unpaid {
  background: #f8d7da;
  color: #721c24;
}

.action-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.action-buttons-content {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-left: 5px;
}

.search-input {
  border-radius: 25px;
  border: 2px solid #e9ecef;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.filter-select {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 8px 12px;
}

.create-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.create-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
  .modern-table {
    font-size: 0.85rem;
  }

  .modern-table thead th,
  .modern-table tbody td {
    padding: 8px 6px;
  }

  .action-buttons {
    flex-direction: column;
  }
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.card {
  border-radius: 15px;
}

/* FSB Programs Page Enhancements */
.program-row:hover {
  background-color: #f8f9fa !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  transform: translateX(2px);
}

.btn-outline-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-control:focus, .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
}

.pagination .page-link {
  border-radius: 20px !important;
  margin: 0 2px;
  border: none;
  color: #007bff;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: none;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Hero section gradient override for FSB Programs */
.hero-section.bg-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
