/* Modern admin redesign for users.php */

/* Expand hero to full width and reduce side whitespace */
/* Reduce side whitespace for hero */
.users-hero {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  color: #fff;
  padding: 2.5rem 1vw 2rem 1vw;
  border-radius: 1.2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(78,84,200,0.12);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.users-hero .users-hero-icon {
  font-size: 3.5rem;
  opacity: 0.85;
}

/* Expand user sections to use more width */
/* Reduce side whitespace for user sections */
.users-section {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem 1vw 1.5rem 1vw;
  margin-bottom: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* Make the add user form block wider */
.row.g-4 {
  display: flex;
  flex-wrap: wrap;
}
.row.g-4 > .col-lg-5 {
  flex: 0 1 48%;
  min-width: 400px;
  max-width: 650px;
}
.row.g-4 > .col-lg-7 {
  flex: 1 1 52%;
  min-width: 400px;
  max-width: 100%;
}

.users-table {
  width: 100%;
  min-width: 0;
  table-layout: auto;
  word-break: break-word;
}
.table-responsive {
  width: 100%;
  overflow-x: hidden !important;
}

@media (min-width: 1200px) {
  .container-fluid.px-4 {
    max-width: 1200px;
    padding-left: 1vw !important;
    padding-right: 1vw !important;
    margin-left: auto;
    margin-right: auto;
  }
}

.users-section-title {
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: #4e54c8;
  letter-spacing: 0.01em;
}

.users-form .form-label {
  font-weight: 500;
  color: #4e54c8;
}

.users-form .btn-primary {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(78,84,200,0.10);
}

.users-table th {
  background: #f4f6fb;
  color: #4e54c8;
  font-weight: 600;
}

.users-table td {
  vertical-align: middle;
}

@media (max-width: 991px) {
  .users-hero {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .users-section {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
