/* FacilityPro - My Account Dashboard Styling 1*/

.facilitypro-my-account {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.facilitypro-my-account h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.facilitypro-my-account h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #666;
}

.facilitypro-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.facilitypro-dashboard-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
/* Adjust for the default 2px gutter in timeGrid events */
.fc-timegrid-event.fraction-half {
  flex: 0 0 calc(50% - 1px) !important;
  max-width: calc(50% - 1px) !important;
}

.fc-timegrid-event.fraction-third {
  flex: 0 0 calc(33.3333% - 1px) !important;
  max-width: calc(33.3333% - 1px) !important;
}

.fc-timegrid-event.fraction-quarter {
  flex: 0 0 calc(25% - 1px) !important;
  max-width: calc(25% - 1px) !important;
}

.fc-timegrid-event.fraction-full {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Ensure the container uses flex layout */
.fc-timegrid-col-events {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.facilitypro-dashboard-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.facilitypro-dashboard-card a {
    text-decoration: none;
    color: #0073aa;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.facilitypro-dashboard-card a:hover {
    color: #005177;
}

.facilitypro-members-area-not-logged-in {
    text-align: center;
    margin: 50px auto;
    padding: 40px 20px;
    max-width: 500px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.facilitypro-members-area-not-logged-in a {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
}

.facilitypro-members-area-not-logged-in a:hover {
    color: #005177;
}
/* FacilityPro - Reseller Dashboard Styling */

.facilitypro-reseller-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.facilitypro-reseller-dashboard h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.facilitypro-reseller-dashboard h3 {
    margin-top: 30px;
    font-size: 22px;
    color: #333;
}

.facilitypro-reseller-dashboard p {
    font-size: 16px;
    margin-bottom: 15px;
}

.facilitypro-reseller-dashboard ul {
    list-style: disc;
    padding-left: 20px;
}
/* FacilityPro - FullCalendar Slot Height Fix */
.fc .fc-timegrid-slot {
    min-height: 40px !important; /* Adjust slot height to properly show 9am 5pm */
}

/* Optional: Better look for the calendar */
.fc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}


/* On hover, slightly darken */
.fp-card-action .fp-book-now:hover {
  background-color: #0056b3;
}
/* --- Facility Embed Section --- */
.fp-embed-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.fp-embed-code {
  width: 100%;
  height: 80px;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: monospace;
  font-size: 14px;
  padding: 10px;
  background: #fff;
  color: #333;
  margin-bottom: 8px;
}

.fp-copy-embed {
  background: #4466af;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.fp-copy-embed:hover {
  background: #2b4c8a;
}

