.photo-preview {
	object-fit: cover;
	object-position: center;
}

.register-box {
	width: 700px;
	/* margin:7% auto */
	margin: 1% auto;
}
@media (max-width: 768px) {
	.register-box2 {
		width: 90%;
		/* margin-top:20px */
	}
}

.register-card-body {
	background: #fff;
	padding: 20px;
	border-top: 0;
	color: #666;
}
.register-card-body .form-control-feedback {
	color: #777;
}

.register-box-msg {
	margin: 0;
	text-align: center;
	padding: 0 20px 20px 20px;
}

.card:hover{
    border-color:#ffc107!important;
	transition:.3s;
}

.shining-button {
	position: relative;
	background-color: #007bff; /* Bootstrap primary color */
	color: white;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	outline: none;
	overflow: hidden;
	transition: background-color 0.4s ease;
}

.shine {
	position: absolute;
	top: -20%;
	left: -20%;
	width: 140%;
	height: 140%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
	animation: shine 3s infinite;
	opacity: 0;
	pointer-events: none; /* Prevents the shine from blocking button clicks */
}

@keyframes shine {
	0% {
		transform: translateX(-100%);
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		transform: translateX(100%);
		opacity: 1;
	}
}

.navbar-nav .dropdown-menu .media-body {
	min-width: 0;           /* IMPORTANT for flex truncation */
}
  
.navbar-nav .dropdown-menu .message-truncate {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Scrollable navbar dropdown (messages) */
.navbar-nav .dropdown-menu.dropdown-menu-lg {
	max-height: 400px;     /* Adjust height as needed */
	overflow-y: auto;
	overflow-x: hidden;
  }



  /* =====================================================
   SELECT2 — ADMINLTE 3 BLEND FIX
===================================================== */

/* Container height */
.select2-container--default .select2-selection--single {
	height: calc(2.25rem + 2px);
	padding: .375rem .75rem;
	border: 1px solid #ced4da;
	border-radius: .25rem;
  }
  
  /* Text alignment */
  .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.8rem;
	padding-left: 0;
	color: #495057;
  }
  
  /* Arrow alignment */
  .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: calc(2.25rem + 2px);
	right: 6px;
  }
  
  /* Focus state like Bootstrap */
  .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
  }
  
  /* Match disabled */
  .select2-container--default.select2-container--disabled .select2-selection--single {
	background-color: #e9ecef;
  }

  /* Base border */
.select2-container--default .select2-selection--multiple {
	border: 1px solid #ced4da !important;
	border-radius: .25rem;
	min-height: calc(2.25rem + 2px);
	padding: 2px 6px;
	background-color: #fff;
  }
  
  /* Hover */
  .select2-container--default .select2-selection--multiple:hover {
	border-color: #b3b7bb;
  }
  
  /* Focus (Bootstrap style) */
  .select2-container--default.select2-container--focus 
  .select2-selection--multiple {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
  }

  .box-placeholder2 {
	font-size: 0;
	line-height: 0;
	  
	.text2 {
	  display: inline-block;
	  background-color: #444;
	  height: 12px;
	  border-radius: 100px;
	  margin: 5px 0;
	  min-width: 100px;
	  opacity: .1;
	  animation: fading 1.5s infinite;
	  
	  &:first-child {
		margin-top: 0;
	  }
	  
	  &:last-child {
		margin-bottom: 0;
	  }
	  
	  &.link2 {
		background-color: #337ab7;
		opacity: .4;
	  }
	  
	  &.line2 {
		width: 100%;
	  }
	  
	  &.category2 {
		width: 100px;
		margin-bottom: 10px;
	  }
	}
	
	h4.text2 {
	  height: 20px;
	  margin: 3px 0;
	  opacity: .2;
	}
	
	.image2 {
	  background-color: #f9f9f9;
	}
  }

  @keyframes fading {
	0% {
	  opacity: .1;
	}
	
	50% {
	  opacity: .2;
	}
	
	100% {
	  opacity: .1;
	}
  }

  .circle-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #007bff;
	color: white;
	font-weight: bold;
}

  /*body,
.navbar,
.sidebar,
.brand-link,
.content-wrapper,
.card,
.btn,
.form-control {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

body {
	font-size: 14px;
	letter-spacing: 0.01em;
  }
  
  h1, h2, h3, h4 {
	font-weight: 600;
  }*/

  .bg-receipt{
	background-color: #d4edda !important;
	color: #155724;
}

.bg-sales{
	background-color: #d6e9ff !important;
	color: #004085;
}

.bg-donation{
	background-color: #fff3cd !important;
	color: #856404;
}