/* Modal overlay */
#eventModal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Modal content box */
#eventModal > div {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

/* Close button */
#closeModal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color: #333;
    transition: color 0.2s ease;
}
#closeModal:hover {
    color: #ff0000;
}

/* Modal title */
#modalTitle {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

/* Form fields */
#eventForm div {
    margin-bottom: 12px;
}
#eventForm label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}
#eventForm input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Submit button */
#eventForm button[type="submit"] {
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}
#eventForm button[type="submit"]:hover {
    background-color: #005177;
}

/* Animation for modal */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.um-directory .um-member {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.um-directory .um-member img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}
.um-directory .um-member .um-member-meta {
    margin-top: 10px;
}
.audivify-tile-details {
	padding: 20px;
}
.audivify-tile-details a, .audivify-tile-details a:hover {
	font-family: 'Poppins', sans-serif;
      font-size: 20px;
      display: inline-block;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-align: center;
      text-decoration: none !important;
      color: #fff;
      text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
      padding: 12px 40px;
      background-image: linear-gradient(236deg, #2AD285 5%, #127C5F 100%);
      border: 2px solid #fff;
      border-radius: 100px;
      box-shadow: 0px 0px 10px rgba(18, 69, 54, 0.5) !important;
      width: 100%;
}
.audivify-outreach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items on desktop by default */
  gap: 18px;
}

.audivify-tile {
  border: 1px solid #eee;
  padding: 0;
  border-radius: 8px;
  text-align: left;
  background: #fff;
}

.audivify-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.audivify-tile h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.audivify-tile p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
}

/* Tablet (≤1024px) → 3 columns */
@media (max-width: 1024px) {
  .audivify-outreach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile (≤768px) → auto-fit, 1–2 columns */
@media (max-width: 768px) {
  .audivify-outreach-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .audivify-tile img {
    height: 120px;
  }
    .um-directory .um-members-wrapper .um-member {
        width: 100%!important;
    }
}

/*REVIEW TAB CSS*/
.audivify-reviews-list {
    display: grid;
    gap: 16px;
}

.audivify-review-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-rating {
    color: #f5a623;
    font-size: 16px;
}

.rating-value {
    font-size: 13px;
    color: #666;
    margin-left: 6px;
}

.review-author {
    font-size: 14px;
    color: #333;
}

.review-body {
    font-size: 14px;
    color: #555;
}

.um-profile-nav-item.um-profile-nav-audivify_bookings {
    float: right;
}

