body {
    margin: 0px;
    font-family: "Open Sans";
}

a {
    color: var(--e-global-color-secondary);
    text-decoration:none;
}

.custom-success {
    display: none;
    background-color: #dff0d8;
    border: 1px solid #c1e1c1;
    color: #3c763d;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-weight: 500;
}

.custom-error {
    display: none;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-weight: 500;
}
.custom-warning {
    background-color: #F1EFEF;
    border: 1px solid #F1EFEF;
    color: #F1EFEF;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-weight: 500;
}

.elementor-button, .hover, .button, .menu-item {
    transition: 0.2s transform;
    cursor: pointer;
}

.elementor-button:hover, .hover:hover, .button:hover, .menu-item:hover, .cts-button:hover {
    transform: translate(-2px, -2px);
    transition: 0.2s transform;
}

.fc-day:hover {
    transform: translate(-2px, -2px);
    transition: 0.2s transform;
}

.btn-block {
    width: 100% !important;
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.show-for-logged-in {
    display: none !important;
}
.show-for-non-logged-in {
    display: block !important;
}

.label, .tag {
    cursor: pointer;
    background: white;
    padding: 5px 15px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin: 1px 1px;
    border-radius:5px;
    display: inline-block;
}

.acf-button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
}

.acf-tab-wrap {
    overflow: hidden !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2)
}

.updated {
    background-color: rgba(0, 255, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.the_thumbnail {
    width: 100%;
    overflow: hidden;
    background: white;
    border-radius: 20px !important;
}

.cts-button, .acf-button{
    text-align: center;
    border-radius: 6px;
    background: #FFD54F;
    text-decoration: none!important;
    font-weight: bold;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #463363;
    display: inline-block;
    border:none;
    cursor: pointer;
}

.cts-button-white {
    background: white !important;
    border: 1px solid #eee;
}

.white-container {
    margin-top: 20px;
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
}

.my-session {
    display: flex;
    width: 100%;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.my-session-image {
    width: 20%;
}

.my-session-image img {
    border-radius: 20px !important;
    overflow: hidden;
}

.my-session-main {
    width: 60%;
}

.my-session-actions {
    width: 20%;
    text-align: right;
}

.my-session-expired, .session-expired {
   opacity: 0.5;
}
.my-session-expired:hover, .session-expired:hover {
   opacity: 1;
}

.my-session-accepted,
.session-accepted {
    background-color: #d4edda!important;
    opacity:1!important;
}
.my-session-completed,
.session-completed {
    background-color: #00b129!important;
    opacity:1!important;
    color:white;
}

.my-session-declined,
.my-session-cancelled,
.session-declined,
.session-cancelled {
    background-color: #f8d7da!important;
    opacity:1!important;
}
.my-session-not_completed,
.my-session-not_completed,
.session-not_completed,
.session-not_completed {
    background-color: #aa1623!important;
    color:white;
    opacity:1!important;
}

.my-session-pending,
.session-pending {
    background-color: #fff3cd!important;
    opacity:1!important;
}


.session-widget {
    display: flex;
    flex-direction: column;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.session-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
}

.session-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.session-message.user {
    background: #007bff;
    color: #fff;
    margin-left: auto;
}

.session-message.bot {
    background: #e0e0e0;
    color: #333;
    margin-right: auto;
}

.session-footer {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #fafafa;
}

.session-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin: 0 10px;
}

.session-send, .session-emoji {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}

.session-emoji {
    background: #f4f4f4;
    color: #333;
}

#session-calendar table {
    background: white;
}

.fc-toolbar-title {
    font-size: 18px !important;
}


.my-countdown {
    display: inline-block;
  
}
.my-countdown .simply-section {
    display: inline-block;
    margin-right: 5px;
}

.chat-header {
    display: none !important;
}

.my-therapist-badge {
    background: rgba(0, 255, 0, 0.2);
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    height: 20px;
    overflow: hidden !important;
    transform: translate(0px,-10px)!important;
}
.my-therapist-badge img {
    width: 20px;
    margin-right: 5px;
}

.notices {
    width: 100%;
    display: block;
    width: 100%;
}

.notice {
    padding: 10px;
    font-weight: bold;
    background: #FFD54F;
    display: block;
    width: 100%;
    border: 1px solid gray;
    margin: 10px;
    border-radius: 10px;
}

.woocommerce-account .woocommerce {
    display: flex;
    gap: 40px;
}

@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
}

.woocommerce-MyAccount-navigation {
    width: 250px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .woocommerce-MyAccount-navigation {
        width: 100%;
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all .25s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f7f7f7;
    color: #111;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f0f5ff;
    border-left-color: #3b82f6;
    /* blue accent */
    color: #1d4ed8;
    font-weight: 600;
}

.woocommerce-MyAccount-content {
    flex-grow: 1;
    padding: 25px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin-top: 0;
    font-weight: 600;
    color: #333;
}

.woocommerce table.my_account_orders {
    border: none;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce table.my_account_orders th {
    background: #f4f6fb;
    font-weight: 600;
}

.woocommerce .button,
.woocommerce a.button {
    background: #3b82f6;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    transition: background .2s ease;
}

.woocommerce .button:hover,
.woocommerce a.button:hover {
    background: #1d4ed8;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 10px !important;
}

.woocommerce form .form-row input.input-text {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px 12px;
    transition: border-color .2s;
}

.woocommerce form .form-row input.input-text:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.member-thumbnail {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    min-height: 100px;
    max-height:250px;
    width: 100%;
    background:#F1EFEF;
    object-fit: cover;
    border-radius: 10px;
}

.therapist {
    display: flex;
    width: 100%;
    background:white;
    gap: 20px;
    border-radius: 20px;
    text-decoration: none;
}

.therapist-left {
    width: 20%;
    padding: 20px;
}

.therapist-left img {
    width:100%;
    height:200px;
    object-fit: cover;;
}

.therapist-right {
    width: 80%;
    text-align: left;
    padding: 20px;
}

.member {
    display: flex;
    width: 100%;
    background:white;
    gap: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    margin-bottom:20px;
}
.member-left {
    width: 20%;
    padding: 20px;
}
.member-left img {
    width:100%;
    height:200px;
    object-fit: cover;;
}
.member-right {
    width: 80%;
    text-align: left;
    padding: 20px;
}

.session-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.session-slot {
    width: calc(33.333% - 9.66px);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
    border-radius: 20px;    
    cursor: pointer;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    text-align: center;
}
.session-slot-disabled {
    background: #e0e0e0;
    color: #888888; 
    cursor: not-allowed;  
    box-shadow: none;
}
.session-slot-selected {
    background: #007bff;
    color: #ffffff;
    box-shadow: 0px 0px 5px rgba(0,123,255,0.5);
}
.session-slot,
.session-slot-disabled,
.session-slot-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    height: 50px;
}

.container {
    max-width: 1120px;
    margin:0 auto;
    padding:20px 20px;
    margin-top:100px;
    margin-bottom:100px;
}

.new-session-calendar {
    display: flex;
    gap: 20px;
}
.new-session-calendar-left {
    width: 70%;
}   
.new-session-calendar-right {
    width: 30%;
}

.new-session-footer {
    display: flex;
    gap: 20px;
}

.new-session-footer-left {
    width: 50%;
}   

.new-session-footer-right {
    width: 50%;
    text-align:right;
}

 

 
/* Common styles for all badge icons */
.notifications-badge,
.sessions-badge {
    position: relative;
    display: inline-block;
    font-size: 20px;       /* icon size */
    color: #333;           /* default icon color */
    text-decoration: none;
    margin-right: 15px;    /* spacing between icons */
    transition: color 0.3s;
}

/* Hover effect for all badges */
.notifications-badge:hover,
.sessions-badge:hover {
    color: #0073aa;        /* WordPress-style blue on hover */
}

/* Icon inside badge */
.notifications-badge .icon,
.sessions-badge .icon {
    display: inline-block;
 
  
    filter: grayscale(100%);
    
 

}

/* Notification/session count circle */
.notifications-badge .notification-count,
.sessions-badge .notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/* Optional: subtle bounce animation when count changes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.notifications-badge .notification-count.animate,
.sessions-badge .notification-count.animate {
    animation: bounce 0.6s;
}



.notifications-container {
    margin: 20px auto;
    padding: 0 10px;
}

.notification-item {
    display:block;
    position: relative;
    background: #f7f7f7;
    border-left: 4px solid #FFD54F;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration:none;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* old Edge */
    cursor: default;
}
.notification-red {
   border-left: 4px solid #ff4f4f;
    background: #f8bfbf!important;
     
}
.notification-item a {
    color:black;
    display:block;
}

.notification-message {
    margin: 0 0 5px 0;
    font-weight: 500;
}

.notification-time {
    font-size: 12px;
    color: #888;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}
.notification-close:hover {
    color: #000;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.sessions-table .cts-button {
    width:80%;
    margin-bottom:5px;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* Header */
.sessions-table thead {
    background: #f3f4f6;
}

.sessions-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e5e7eb;
}

/* Cells */
.sessions-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f2;
    color: #444;
}

/* Alternate row colors */
.sessions-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover effect */
.sessions-table tbody tr:hover {
    background-color: #f0f7ff;
    transition: background 0.2s ease;
}

/* Last row border fix */
.sessions-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive scroll on small screens */
@media (max-width: 768px) {
    .sessions-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.session-topbar {
    display: flex;   
    justify-content: center;
    align-items: center; 
    margin-bottom: 10px;
}

.session-topbar-left {
    width: 50%;
}

.session-topbar-right {
    width: 50%;
    text-align: right;
    font-size: 14px;
}
.center {
    text-align:center;
}

/* Fix Elementor mobile layout bugs (triangle / inverted shape issue) */
@media (max-width: 767px) {

    /* Prevent broken transforms & skewed sections */
    .elementor-section,
    .elementor-container,
    .elementor-widget-wrap {
        transform: none !important;
        clip-path: none !important;
    }

    /* Stop negative margin collapse */
    .elementor-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Fix 100vh mobile bug */
    .elementor-section {
        min-height: auto !important;
        height: auto !important;
    }

    /* Prevent hidden overflow collapsing content */
    .elementor-section,
    .elementor-container {
        overflow: visible !important;
    }
}


.members-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.members-table th {
    background: #f1f3f5;
    text-align: left;
    padding: 14px;
    font-weight: 600;
}

.members-table td {
    padding: 12px 14px;
    border-top: 1px solid #eee;
    vertical-align: middle;
}

.members-table tr:hover {
    background: #fafafa;
}

.members-table .actions {
    text-align: right;
    white-space: nowrap;
}

.btn-more {
    display: inline-block;
    padding: 6px 14px;
    background: #2c7be5;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.btn-more:hover {
    background: #1a68d1;
}

/* Table Styling */
#availabilityTable {
  border-collapse: collapse;
  width: 100%;
  margin: 20px auto;
  table-layout: fixed; /* Ensures all columns share width evenly */
  overflow: hidden;
}

#availabilityTable th, #availabilityTable td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 0; /* remove padding for full button size */
  height: 50px;
}

/* Header */
#availabilityTable th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Time column */
#availabilityTable td:first-child,
#availabilityTable th:first-child {
  width: 80px; /* fixed width for time */
  background-color: #fafafa;
  font-weight: 500;
}

/* Other columns evenly spaced */
#availabilityTable th:not(:first-child),
#availabilityTable td:not(:first-child) {
  width: calc((100% - 80px)/7); /* remaining width divided by 7 weekdays */
}

/* Buttons fill td */
#availabilityTable button {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block; /* ensures full width/height in td */
}

/* Available slot */
#availabilityTable button.available {
  background-color: #4CAF50;
  color: white; 
}

/* Hover effect */
#availabilityTable button:hover {
  filter: brightness(1.1);
}

/* Unavailable slot */
#availabilityTable button:not(.available) {
  background-color: #fff;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  #availabilityTable td:first-child,
  #availabilityTable th:first-child {
    width: 60px;
    font-size: 0.85em;
  }

  #availabilityTable button {
    font-size: 0.8em;
  }
}
