/* Styles for premium member cards - premiumCard.css 24/07/2024*/

/* Set the background color for rows */
.row-color {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

/* Style for card columns */
.card-column {
  width: 50%;
  padding: 5px;
  vertical-align: top;
  box-sizing: border-box;
}

/* Card styling */
.card {
  padding: 2px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card content layout */
.card-content {
  display: flex;
  align-items: center;
}

/* Card image styling */
.card-img {
  border-radius: 30%;
  object-fit: cover;
  width: 70px;
  height: auto;
  margin-left: 4px;
}

/* Card information styling */
.card-info {
  margin-left: 10px;
}

/* Card title link styling */
.card-title {
  font-weight: bold;
  color: #333;
  font-size: 0.75em;
  text-decoration: none;
}

/* Card details styling */
.card-details {
  margin-top: 5px;
  color: #444;
  font-size: small;
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}

/* Styling for truncated occupation */
.occupation-text {
  display: inline;
}

/* Toggle occupation link styling */
.toggle-occupation .toggle-education {
  color: #007bff;
  text-decoration: none;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 2px;
}

.pagination button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #f9a144;
  border: none;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.pagination button:hover {
  background-color: #d93134;
}

.pagination button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
/* Premium badge styling */
.premium-badge {
  position: absolute;
  top: -3px;
  right: 5px;
  z-index: 1; /* Ensures it stays above other elements */
}
.premium-badge img {
  width: 35px;
}
