a {
    text-decoration: none;
}
html, body {
    background: #f2f2f2;
}
.card-img-top {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.card-title {
    font-weight: bold;
    font-size: 1.5em;
}
.btn-primary {
    border-radius: 2em;
    padding: 0.5em 1.5em;
}
.card-profile {
    margin-top: 10px;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px !important;
    background-color: #fff;
}
.checked {
    color: orange;
}
.card-profile img.qr {
    width: 100px;
    height: 100px;
}

/* modal rating */
.card-review img {
    width: 35px;
    height: 35px;
    cursor: pointer;
}
.fas{
    cursor: pointer;
}
.fa-chevron-left{
    color: #fff;
}
h6{
    font-size: 12px;
    font-weight: bold;
}
small{
    font-size: 10px;
    color: #898989;
}

.form-control:focus{
    box-shadow: none;
    background: #F6F7FB;
}
.form-control::placeholder{
    color: #B8B9BD;
}
.btn-primary:focus{
    box-shadow: none;
}
p.mt-3{
    font-size: 11px;
    color: #B8B9BD; 
    cursor: pointer;
}

.wrapper-officers {
  display: flex;
  flex-wrap: wrap;        /* để khi nhiều item vẫn xuống dòng */
  gap: 20px;
  padding-top: 30px;
  justify-content: center; /* căn giữa các item */
  min-height: calc(100vh - 100px);
}

.wrapper-officers > * {
  flex: 1 1 300px;        /* tối thiểu 300px, có thể giãn */
  max-width: 300px;       /* không quá rộng */
}

.wrapper-officers .card-body {
    padding: 10px;
}
.wrapper-officers .counter-label {
    font-size: 20px;
    font-weight: bold;
}
.wrapper-officers .department-text {
    font-size: 14px;
}
.wrapper-officers .counter-label {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.btn-modal-review {
    cursor: pointer;
}
.wrapper-officers .officer-label {
    font-size: 24px;
    font-weight: bold;
}
.officer-info p {
    margin-bottom: 5px;
}
.btn-review-index {
    margin-top: 15px;
    background-color: #0e325d;
    border-color: initial;
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
    .wrapper-officers.one-item > * {
        flex: 1 1 400px;
        max-width: 400px;
    }
    .wrapper-officers.one-item .card-img-top {
        height: 450px;
    }
}