.list-group {
  padding: 0;
  margin: 0;
}

/* === Card Base === */
.card2 {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6ecf3;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card2:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* === Profile Section === */
.d-flex.text-center {
  text-align: center;
}

/* .d-flex.text-center img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.d-flex.text-center img:hover {
  transform: scale(1.05);
} */

.d-flex.text-center h4 {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    gap: 10px;
    align-items: center;
    display: flex;
    color: #111;
    justify-content: center;
}

.d-flex.text-center p {
  margin: 2px 0;
  font-size: 15px;
  color: #6e7c91;
}

/* === Divider === */
.card2 hr {
  border: 0;
  height: 1px;
  background: #00abc9;
  margin: 25px 0;
}

/* === Info List === */
.list-group-item {
  border: none;
  padding: 10px;
  border-bottom: 1px solid #f1f4f9;
  transition: all 0.2s ease;
  justify-content: space-between;
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item:hover {
  cursor: pointer;
  background: #f9fbff;
}

.list-group-item h6 {
  font-size: 13px;
  font-weight: 600;
  color: #2d2f39;
  display: flex;
  align-items: center;
  margin: 0;
}

.list-group-item h6 i {
  margin-right: 8px;
  font-size: 14px;
  color: #00abc9;
}

.list-group-item span {
  color: #6c778a;
  font-size: 13px;
}

/* === Edit Form Card === */
.edit-card {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #e7ecf3;
}

.edit-card h6 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.edit-card .form-control {
  border: 1px solid #dce4ef;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.edit-card .form-control:focus {
  border-color: #006eff;
  box-shadow: 0 0 0 0.15rem rgba(0, 110, 255, 0.15);
}

.edit-card input[type="button"] {
  background: linear-gradient(90deg, #006eff, #00b7ff);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 25px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.edit-card input[type="button"]:hover {
  background: linear-gradient(90deg, #0052d9, #00a0e6);
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
  transform: translateY(-2px);
}

/* === Progress Section === */
.project-status {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9eef5;
}

.project-status h5 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1d27;
  margin-bottom: 25px;
  border-left: 4px solid #00abc9;
  padding-left: 10px;
}

.project-status p {
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
}

.active-course {
  font-size: 18px;
  font-weight: 700;
  color: #1a1d27;
  margin-bottom: 25px;
  border-left: 4px solid #00abc9;
  background: linear-gradient(90deg, #f0faff, transparent);
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.active-course i {
  margin-right: 10px;
  color: #00abc9;
}

.course-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Progress Bar Container */
.progress {
  height: 15px;
  background: #edf1f6;
  border-radius: 5px;
  overflow: visible;
  position: relative;
  margin-bottom: 25px;
}

/* Progress Fill */
.progress-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
  position: relative;
}

/* Percentage Text */
.progress-bar::after {
  content: attr(data-progress) '%';
  position: absolute;
  right: 10px;
  top: -22px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

/* Gradient Colors */
.progress-bar.bg-primary {
  background: #00abc9;
}

.progress-bar.bg-danger {
  background: linear-gradient(90deg, #ff4b2b, #ff416c);
}

.progress-bar.bg-success {
  background: linear-gradient(90deg, #00b09b, #96c93d);
}

.progress-bar.bg-warning {
  background: linear-gradient(90deg, #feca57, #ff9f43);
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  .main-body {
    flex-direction: column;
  }

  .card2,
  .edit-card,
  .project-status {
    width: 100%;
    margin-bottom: 20px;
  }

  .edit-card,
  .project-status {
    padding: 25px;
  }
}

/* === Edit Profile Form Section === */
.card-body {
  padding: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  /* border: 1px solid #e8edf5; */
  transition: all 0.3s ease;
}

.card-body:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}



/* Input Wrapper */
.card-body .form-control {
  background: #f9fbff;
  border: 1.5px solid #dbe4f1;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
}

.card-body .form-control:focus {
  border-color: #00abc9;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
  background: #fff;
}

/* Text alignment for right column */
.text-secondary {
  color: #606b80 !important;
}

/* Save Button */
.card-body .btn-primary {
  background: linear-gradient(90deg, #006eff, #00b7ff);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.card-body .btn-primary:hover {
  background: linear-gradient(90deg, #0052d9, #00a0e6);
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
}

/* Row spacing and alignment */
.card-body .row.mb-3 {
  align-items: center;
  margin-bottom: 18px !important;
}

.card-body .col-sm-3 {
  display: flex;
  align-items: center;
}

/* Make inputs full width */
.card-body .col-sm-9 .form-control {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-body {
    padding: 25px;
  }

  .card-body .col-sm-3 {
    margin-bottom: 8px;
  }

  .card-body .row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.profile-user h4 img{
  width: 20px;
  height: 20px;
  box-shadow: none;
}
.divider {
  font-size: 15px;
  font-weight: 600;
  color: #1a1d27;
  margin-top: 15px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.divider::before {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #00abc9;
  margin-right: 15px;
}

.divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #00abc9;
  margin-left: 15px;
}

.lab {
  color: #707070;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0;
}

.lab::after {
  content: "*";
  color: #00abc9;
  margin-left: 2px;
}

.since {
  background: linear-gradient(135deg, #32bbed, #006e74);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}


.recent-logins {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  /* margin-top: 35px; */
}

.recent-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 10px 13px;
  width: 100%;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 15px;
}

.recent-card:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.recent-card img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  /* margin-bottom: 8px; */
  object-fit: cover;
}

.recent-card p {
  margin: 0;
  color: #073b2c;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-box-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.box-img {
  flex: 1 1 calc(25% - 20px);
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  text-align: center;
  padding: 20px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.box-img:hover {
  border-color: #008ca3;
  box-shadow: 0 4px 10px rgba(0,140,163,0.2);
  transform: translateY(-2px);
}

.box-img h6 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.box-img img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.box-img:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .box-img {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .box-img {
    flex: 1 1 100%;
  }
}
