/*
 Theme Name: Harvard & Yale Golfing Society
 Theme URI: https://hubbase.io/
 Template: hello-elementor
 Description:  Child theme of Hello Elementor for customizations
 Author:       Hubbase
 Author URI:   https://hubbase.io
 Version:      1.1.0
 Text Domain:  hys-child
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
  font-family: 'Instrument Sans', sans-serif;
}

.member-name {
  text-align: center;
}
.member-name a {
  text-decoration: none;
  color: #212529;
}
.member-profile-pic {
  text-align: center
}
.profile-image {
  border-radius: 50%;  /* Makes the image circular */
  width: 150px;       /* Adjust size as needed */
  height: 150px;      /* Must match width for a perfect circle */
  object-fit: cover;  /* Ensures the image fills the circle without stretching */
}
.member-stats {
  display: flex;
  gap: 85px;
  padding: 40px;
  justify-content: center;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  text-transform: uppercase;
}

.member-stats-container {
  display: flex;
  justify-content: center;
  margin: 40px 0px;
}

.member-stat-number {
  color: #212529;
  font-size: 64px;
  font-weight: 500;
  
  line-height: 100%;
}
.member-stat-desc {
  font-size: 16px;
  line-height: 22px;
  color: #0F4D92;
  margin-bottom: 14px;
}
.member-stat {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid #FF4340;
  padding-right: 40px;
}

.member-detail-item-desc {
   font-size: 14px;
  text-transform: uppercase;
}

.member-detail-item-value {
  font-size: 24px;
  font-weight: 700;
}

.member-detail-item-value a {
  /* text-decoration: none; */
  color: #212529;
}


.member-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  gap: 16px; /* Space between items */
  padding: 20px;
  box-sizing: border-box;
}

.member-detail-item-value {
  word-break: break-word;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .member-details {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row on tablets */
  }
}

@media (max-width: 600px) {
  .member-details {
    grid-template-columns: 1fr; /* 1 item per row on mobile */
  }
}


.member-details-container {
  display: flex;
  justify-content: center;
}

/* Table Styling */
.um-members-table-container {
  color: #212529;
}

.um-members-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.um-members-table-container {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Minimum width before responsive kicks in */
}

.um-members-table-container th {
  background-color: #F6F5F8;
  padding: 8px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
}

.um-members-table-container td {
  padding: 5px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.um-members-table-container tr:last-child td {
  border-bottom: none;
}

/* Member Photo */
.um-member-photo img {
  max-width: 60px;
  height: auto;
  border-radius: 50%;
}

/* Actions */
.um-member-cog {
  position: relative;
  display: inline-block;
}

.um-member-actions-a {
  color: #666;
  text-decoration: none;
}

/* No Users */
.um-members-none {
  text-align: center;
  padding: 30px;
  color: #666;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .um-members-table-container {
      display: block;
  }
  
  .um-members-table-container thead {
      display: none;
  }
  
  .um-members-table-container tr {
      display: block;
      margin-bottom: 20px;
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 15px;
  }
  
  .um-members-table-container td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      border-bottom: none;
      text-align: right;
  }
  
  .um-members-table-container td:before {
      content: attr(data-title);
      font-weight: bold;
      margin-right: auto;
      padding-right: 20px;
      text-align: left;
  }
  
  .um-member-photo {
      justify-content: center;
  }
  
  .um-member-photo img {
      max-width: 80px;
  }
  
  .um-member-actions {
      justify-content: flex-end;
  }
  
  .um-member-actions:before {
      display: none;
  }
}

.um-members-table-container th, .um-members-table-container td, .um-members-table-container tr {
  border: none;
}
.um-directory .um-members-wrapper .um-members .um-members-table-responsive .um-member {
  border: none;
}

.um-members-table-responsive table thead:first-child tr:first-child th {
  border:none;
}
table.um-members-table-container tbody .um-member td {
  background: white;
}
table.um-members-table-container thead th, table.um-members-table-container td {
  padding-top: 24px;
  padding-bottom: 24px;
}
.um-members-table-container tbody tr {
  border-bottom: 1px solid #212529;
}

/* Event signup button */
.event-signup-button {
  background: #0F4D92;
  color: white;
  border: none;
  padding: 15px 35px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 15px 0;
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.3s;
}

.tribe-events-single > .tribe_events > .event-signup-button {
  width: inherit;
}

.event-signup-button:hover {
  background: #0f4c92b4;
}

.event-signup-status {
  color: #0F4D92;
  font-weight: bold;
  padding: 10px 0;
  margin: 15px 0;
}

/* Registered events list */
.um-registered-events {
  margin-top: 20px;
}

.um-registered-event {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.um-registered-event h4 {
  margin: 0 0 5px 0;
}

.um-registered-event p {
  margin: 5px 0;
  color: #666;
}

/* Events tab styling */
.um-events-list {
  margin-top: 20px;
}

.um-event-item {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.um-event-image {
  flex: 0 0 200px;
  margin-right: 20px;
}

.um-event-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.um-event-details {
  flex: 1;
}

.um-event-meta {
  margin: 10px 0;
  color: #666;
  font-size: 14px;
}

.um-event-meta span {
  display: block;
  margin-bottom: 5px;
}

.um-event-meta i {
  margin-right: 5px;
  width: 20px;
  text-align: center;
}

.um-event-excerpt {
  margin: 10px 0;
  color: #555;
}

.um-event-cancel-signup {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 15px;
  margin-top: 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}

.um-event-cancel-signup:hover {
  background: #d32f2f;
}

.um-event-cancel-signup:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .um-event-item {
      flex-direction: column;
  }
  
  .um-event-image {
      flex: 0 0 auto;
      margin-right: 0;
      margin-bottom: 15px;
  }
}

/* My Events tab styling */
.um-account-events {
  margin-top: 15px;
}

.um-account-event {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #d9d7d7;
}

.um-account-event-header {
  display: flex;
  margin-bottom: 15px;
}

.um-account-event-image {
  flex: 0 0 120px;
  margin-right: 15px;
}

.um-account-event-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.um-account-event-info {
  flex: 1;
}

.um-account-event h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.um-account-event-meta {
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 10px;
}

.um-account-event-meta span {
  display: block;
  margin-bottom: 3px;
}

.um-account-event-meta i {
  width: 18px;
  text-align: center;
  margin-right: 5px;
}

.um-account-event-desc {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.um-account-event-actions {
  text-align: right;
  margin-top: 10px;
}

.um-account-event-cancel {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s;
  width: inherit;
  margin-top: 10px;
}

.um-account-event-cancel:hover {
  background: #d32f2f;
}

.um-account-event-cancel:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .um-account-event-header {
      flex-direction: column;
  }
  
  .um-account-event-image {
      flex: 0 0 auto;
      margin-right: 0;
      margin-bottom: 10px;
  }
}

#um_account_submit_my_events {
  display: none;
}

/* Breadcrumb Container */
.tribe-events-category-breadcrumbs {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #666;
  margin: 10px 0 20px;
  line-height: 1.4;
}

/* Breadcrumb Links */
.tribe-events-category-breadcrumbs a {
  color: #666; /* Google blue-like link color */
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Link Hover Effect */
.tribe-events-category-breadcrumbs a:hover {
  color: #0d5bbc;
  text-decoration: underline;
}

/* Separator Styling (Matches / The Atlantic Match / AM01...) */
.tribe-events-category-breadcrumbs .separator {
  margin: 0 6px;
  color: #888;
}

/* Current Page (Last Item) */
.tribe-events-category-breadcrumbs .current-event {
  color: #333;
  font-weight: 500;
}


.underline-container {
  position: relative;
  padding-bottom: 10px;
}

.underline-line {
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 100px; /* adjust as needed */
  height: 1px;
  background-color: #000;
}

.tribe-events-schedule h2 {
  font-size: 16px;
  line-height: 22px;
}

.tribe-events-schedule {
  margin-bottom: 0px;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown {
  margin: 0px;
}

.event-category-title {
  margin-bottom: 0px;
  line-height: 22px;
}
.event-category-title-container h3 {
  font-size: 1.5rem;
  line-height: 22px;
  margin-bottom: 5px;
}

.um-member-directory-search-line input.um-search-line {
  border-radius: 8px;
  padding: 24px !important;
}
.um-directory .um-member-directory-header .um-member-directory-header-row.um-member-directory-search-row {
  justify-content: flex-start;
}
.um .um-form input[type="search"].um-search-line {
  border: 1px solid #3C3C43 !important;
}

/* Golf Details Tab Styling */
.um-account .um-account-nav li.um-account-tab-profile_details a {
  padding: 0 15px;
}

.um-account .um-account-tab-profile_details .um-field-label label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.um-account .um-account-tab-profile_details input[type="text"],
.um-account .um-account-tab-profile_details input[type="number"],
.um-account .um-account-tab-profile_details select {
  width: 100%;
  padding: 20px 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}

.um-account .um-account-tab-profile_details .um-radio-option {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.um-account .um-account-tab-profile_details .um-radio-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.um-golf-details-heading {
  font-size: 20px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.um-directory .um-members-wrapper .um-members.um-members-list.um-members-table .um-member {
  display: table-row !important;
  border-bottom: 1px solid #f5f5f5;
}

.um-profile-photo-btn {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.um-profile-photo-btn a {
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
}

.um-profile-photo-btn a.um-alt {
    background-color: #f0f0f0;
    color: #333;
}

.um-profile-photo-btn a.um-alt:hover {
    background-color: #e0e0e0;
}

.um-profile-photo-upload {
    margin-top: 15px;
}

/* Make the profile photo display nicely */
.um-account .um-profile-photo img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 200px;
    height: auto;
}
.um-profile-photo-btn a.um-button {
  width: inherit;
}