.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.dashboard-box {
  background: #fafafa;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.dashboard-box h3 {
  margin: 12px 0;
}

.dashboard-box p {
  font-size: 30px;
  font-weight: bold;
  color: #7b2d43;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.profile-card {
  background: white;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  text-align: center;
}

.profile-card:hover {
  transform: translateY(-3px);
  transition: .2s ease;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ececec;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 52px;
  margin: auto;
  margin-bottom: 20px;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
  margin-bottom: 20px;
}

.profile-card h2 {
  margin-bottom: 5px;
  color: #7b2d43;
}

.profile-card p {
  line-height: 1.5;
}

.profile-card .btn-main {
  display: inline-block;
  margin-top: 12px;
  margin-left: 4px;
  margin-right: 4px;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  align-items: end;
}

.search-form label {
  font-weight: bold;
}

.search-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
}

.search-form button {
  padding: 13px;
  border: none;
  border-radius: 25px;
  background: #7b2d43;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.search-form button:hover {
  background: #5f2233;
}

@media(max-width:900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}