/**
 * Stream Team Members Plugin Styles
 */


/* Team Members Grid */
.stream-team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1em;
    margin: 30px 0;
  }
  
@media (max-width: 600px) {
  .stream-team-members-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Member Card */
.team-member-card {
  display: flex;
  flex-direction: column;
  background: var(--color-primary-transparent);
  border-radius: 4px;
  margin: 15px 0;
  padding: 15px;
  height: 333px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Avatar */
.team-member-avatar {
  text-align: center;
}

.team-member-avatar img {
  border-radius: 50% !important;
  width: 150px !important;;
  height: 150px !important;;
  object-fit: cover !important;;
  border: 5px solid #fff !important;;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;;
}

/* Info */
.team-member-info {
  flex-grow: 1;
  padding-top: 1em;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.team-member-name {
  margin: 0 0 0.5em;
  text-align: center;
  /* overflow: overlay; */
  /* height: 75px; */
}

.team-member-name a {
  color: #fff;
}

.team-member-bio {
  margin-bottom: 1em;
  font-size: 16px;
  line-height: 1.6;
}

/* Social */
.team-member-social {
  display: flex;
  justify-content: center;
  /* margin-bottom: 1em; */
  /* position: absolute; */
  /* bottom: 0; */
  /* left: 0; */
  width: 100%;
  gap: 0px 10px;
  flex-wrap: wrap;
  /* color: white; */
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.team-member-social a {
  /* display: inline-block; */
  /* margin-right: 0.5em; */
  color: white;
}

.social-icon {
  font-size: 1.5em;
}

.social-icon:hover {
  color: #0073aa;
}

/* Read More Link */
.read-more-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: #00e5ff;
  color: #2d0a42;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.read-more-link:hover {
  background-color: #00b8cc;
}

/* Stream Team Title */
.stream-team-title {
  color: #00e5ff;
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 0.5em;
  text-align: center;
}

/* Profile Page */
.team-member-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  .profile-social {
    justify-content: center;
  }
}

.profile-avatar img {
  border-radius: 50%;
  border: 5px solid #2d0a42;
}

.profile-title h1 {
  margin: 0 0 10px;
  font-size: 36px;
  color: #2d0a42;
}

.profile-status {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.profile-social {
  display: flex;
  gap: 10px;
}

.profile-social .social-icon {
  background-color: #2d0a42;
}

.profile-social .social-icon:hover {
  background-color: #4a1a6a;
}

.profile-content {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.profile-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2d0a42;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background-color: #4a1a6a;
}

/* Bio Edit Form */
.stream-team-members-edit-bio {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  margin-bottom: 10px;
  /* color: #2d0a42; */
}

.social-link-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.social-link-row select,
.social-link-row input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.social-link-row select {
  width: 150px;
}

.social-link-row input {
  flex-grow: 1;
}

.form-submit {
  margin-top: 20px;
}

#stream-team-members-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
}

#stream-team-members-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#stream-team-members-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.uil-linkedin:hover {
  color: #0077B5; /* LinkedIn Blue */
}

.uil-github:hover {
  color: #181717; /* GitHub Black */
}

.uil-twitter:hover {
  color: #1DA1F2; /* Twitter Blue */
}

.uil-facebook:hover {
  color: #1877F2; /* Facebook Blue */
}

.uil-instagram:hover {
  color: #E1306C; /* Instagram Pink */
}

.uil-envelope:hover {
  color: #D44638; /* Gmail Red */
}

.uil-globe:hover {
  color: #4285F4; /* Generic Web Blue (like Google) */
}

.team-member-social .uil {
  border-radius: 25%;
}

.team-member-social .uil:hover {
  background:white;
  border-radius: 50%;
}

.team-member-social a, .uil {
  width: 40.5px;
  height: 40.5px;
  display: block;
  text-align: center;
}

.uil {
  transition: all ease .25s;
  color: #fff;
}