#employee-rows {
  text-align: center;
}

.employee-all {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  display: flex;
  flex-direction: column;
}

.employee-table {
  display: flex;
  font-size: 16px;
  justify-content: center;
  margin: 20px 0px;
}

.display-pc {
  display: none;
}

.employee-admin-table thead tr th {
  text-align: center;
}

.employee-admin-table input[name*="[name]"] {
  width: 150px;
}

.employee-admin-table input[name*="[years]"],
.employee-admin-table input[name*="[point_count]"],
.employee-admin-table input[name*="[cases]"] {
  width: 80px;
}

.employee-admin-table input[name*="[warranty]"] {
  width: 100px;
}

.employee-call-btn {
  display: inline-block;
  padding: 4px;
  border-radius: 999px;
  background: #da0000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.employee-admin-table input[name*="[name]"] {
  width: 150px;
}

.employee-admin-actions {
  margin-top: 10px;
}

.employee-list-grid {
  display: flex;
  width: 90%;
  flex-direction: column;
  gap: 12px;
}

.employee-card {
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 10px 5px 10px;
  text-align: left;
  line-height: normal;
  min-width: 290px;
}

.employee-name {
  font-size: 20px;
  line-height: 1.6;
  color: #036338;
}

.font-size-mobile {
  font-size: 14px;
}

.countdown-mobile {
  padding-top: 8px;
  font-size: 14px;
  color: #036338;
  text-align: right;
}

.employee-card .img-employee {
  display: none;
}

.employee-card .card-heading {
  display: flex;
  justify-content: space-between;
}

.employee-card .card-heading div {
  padding-left: 5px;
}

.employee-card .card-heading .icon-employee {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.employee-card p {
  margin: 0;
}

.card-feedback {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: #ccc;
}
.stars::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--percent, 0%);
  overflow: hidden;
  color: #fbc531;
}

.employee-card .buttons {
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.employee-card .btn {
  width: 48%;
  text-align: center;
  display: inline-block;
  padding: 7px 0px;
  margin: 3px 0px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.btn-call {
  background-color: #27ae60;
}
.btn-zalo {
  background-color: #2980b9;
}

@media (min-width: 700px) {
  .employee-list-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
  }

  .employee-table {
    max-height: 424px;
  }

  .employee-card .card-heading div {
    padding-left: 0px;
    padding-top: 5px;
  }
  .employee-card .card-heading .icon-employee {
    display: none;
  }

  .employee-card .buttons {
    flex-direction: column;
  }

  .employee-card .img-employee {
    display: inline-block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
  }

  .employee-card .card-heading {
    display: block;
    align-items: center;
  }

  .employee-card .btn {
    width: 100%;
  }

  .display-pc {
    display: block;
  }

  .display-mobile {
    display: none;
  }

  .font-size-mobile {
    font-size: 16px;
  }
}

.icon-ds-tho {
  width: 20px;
  margin-right: 5px;
}

.btn-icon-ds-tho {
  width: 16px;
  margin-right: 5px;
  margin-top: -2px;
}
