/* Photo Section */
.photo-section {
  width: 300px;
  text-align: center;
}

.photo-section img {
  width: 300px;
  height: 300px;
  border-radius: 2px;
  object-fit: cover;
  border: 2px solid #ccc;
}

/* Prevent resize */
.no-resize {
  resize: none;
}

/* Customer Card */
.customer-card {
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 16px;
  max-width: 400px;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#searchInput {
  margin-bottom: 15px;
}

.customer-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.customer-id {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 6px;
  text-align: left;
}

.customer-kyc {
  font-size: 0.9em;
  color: #777;
  text-align: left;
}

/* Modal */
.modal-md {
  width: 300px;
}

.modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);

  /* Centering with flexbox */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.close {
  cursor: pointer;
  float: right;
  font-size: 20px;
}

/* Form Control */
.form-control {
  padding: 4px 8px; /* smaller than Bootstrap default */
}

.fs-7 {
  font-size: 0.85rem;
}
.pagination {
  justify-content: center;
}

.bg-orange {
  background-color: #fe9935;
}
#loading-overlay-list {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  font-family: "Segoe UI", sans-serif;
  color: #444;
  text-align: center;
  backdrop-filter: blur(2px);
  left: 250px; /* comment this to cover sidebar*/
}

#loading-overlay-list .loading-content {
  display: grid;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#loading-overlay-list .loading-icon img {
  width: 80px;
  height: 80px;
}

#loading-overlay-list p {
  margin: 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
}

.sidebar a:hover {
  background-color: #f78e2b;
}

.sidebar.hidden {
  margin-left: -250px; /* hide sidebar */
}

.main-content {
  flex-grow: 1;
  padding: .5rem;
  margin-left: 250px; /* same as sidebar width */
  margin-right: 30px;
  transition: margin-left 0.3s;
  overflow: hidden;
  
}

.main-content.full {
  margin-left: 0;
}

.sidebar {
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background-color: rgb(71, 70, 69);
  color: white;
  flex-shrink: 0;
  position: fixed;
  transition: all 0.3s;
  /* overflow: none; → invalid, use hidden/auto */
  overflow: hidden;
}

#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  font-family: "Segoe UI", sans-serif;
  color: #444;
  text-align: center;
  backdrop-filter: blur(2px);
  left: 250px; /* comment this to cover sidebar*/
}

#loading-overlay .loading-content {
  display: grid;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#loading-overlay .loading-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

#loading-overlay p {
  margin: 0;
}
#toggleSidebar {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1100;
}

.card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 150px;
  max-height: 150px;
}

.card-header-local {
  background-color: rgb(86, 93, 99);
  color: white;
}

#user-options {
  display: none;
  transition: all 0.5s ease;
}
#user-options.show {
  display: block;
}
.add_user_container {
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  padding: 20px;
}
.containerd {
  display: block;
}

.left {
  width: 100%;
  max-width: 800px;
}

.right {
  width: 100%;
  max-width: 400px;
}

.form-control-plaintext {
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
}

/*.form-label {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 0.9em;
}*/

.no-resize {
  resize: none;
}

label + p {
  margin-top: 1px; /* reduce gap */
}


.login-box {
	width: 100%;
	max-width: 400px;
	padding: 30px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(63, 61, 61, 0.1);
}

.btn-orange {
	background-color: orange;
	color: white;
	border: none;
}

.btn-orange:hover {
	background-color: darkorange;
}

.body-login {
	background-color: rgb(65, 67, 70);
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	font-family: 'Segoe UI', sans-serif;
}

.body-base {
	display: flex;
	min-height: 100vh;
  }