/* common start */
.cm_h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  padding-bottom: 5px;
}

.cm_p {
  color: #6c757d;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
}
/* common end */
/* header start here */
/* .ex{} */
/* .cm_p{} */
#box{
  max-width: 150px; 
  height: 100px; 
  background: gray; 
  transition: 0.3s; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: white;
}
/* header end here */

/* banner start here */
.ex {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.ex:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.list-group-item .btn-danger{
  opacity: 0;
  transition: 0.3s;
  border-left: 5px solid #343a40;
  margin-bottom: 10px;
  border-radius: 8px !important;
  font-weight: 500;
  transition: all 0.2s;
}

.list-group-item:hover .btn-danger{
  opacity: 1;
  background-color: #e9ecef;
  padding-left: 25px;
}

.btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  border-radius: 10px;
  border: 2px solid #dee2e6;
}

.form-control:focus {
  border-color: #343a40;
  box-shadow: none;
}
/* banner end here */

/* success start here */
.custom-alert {
  pointer-events: none;
  visibility: hidden;
  min-width: 250px;
  background-color: #28a745;
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* যখন 'show' ক্লাস যোগ হবে তখন এটি দেখা যাবে */
.custom-alert.show {
  visibility: visible;
  pointer-events: auto;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* অ্যানিমেশন */
@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}
/* success end here */

/* feature starts here */
/* feature end here */

/* footer starts here */
/* footer end here */

/* dark mode start */
body.dark-theme {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-theme .ex {
  background-color: #1e1e1e;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
}

.dark-theme .cm_h2 {
  color: #bb86fc;
  border-bottom-color: #bb86fc;
}

.dark-theme .list-group-item {
  background-color: #2c2c2c;
  color: white;
  border-left-color: #bb86fc;
}

.dark-theme .form-control {
  background-color: #333;
  color: white;
  border-color: #444;
}

/* dark mode end */