.schedule-settings-icon {
  height: 30px;
  width: 30px;
  border: 1px;
  border-style: solid;
  border-color: #e6edf3;
  border-radius: 5px;
}

.links {
  text-decoration: none;
}

.links:hover {
  text-decoration: none;
}

.links:visited {
  text-decoration: none;
}

.schedule-settings-icon img {
  height: 50px;
  width: 50px;
  margin-left: -10px;
  margin-top: -11px;
}

.schedule-import-button {
  border-style: solid;
  border-color: #e6edf3;
  border-radius: 5px;
  border-width: 1px;
  height: 30px;
  width: 80px;
  font-size: 11px;
  text-align: center;
  line-height: 27px;
  color: #515660;
  text-transform: uppercase;
}

.schedule-add-button {
  /* background-color: #2676ea; */
  /* height: 30px; */
  /* width: 130px; */
  /* font-size: 12px !important; */
  /* font-weight: bold; */
  /* color: white; */
  /* border-radius: 4px; */
  /* text-transform: uppercase; */
  cursor: pointer;
}

.schedule-add-button:hover {
  /* filter: brightness(98%); */
}

.react-tooltipe-style {
  font-size: 10px !important;
}

.schedule-dates-container {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0px 10px;
  overflow: hidden;
  min-width: 0;
}

.schedule-dates-ul {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  gap: 3px;
  flex-wrap: nowrap;
  margin-bottom: 5px !important;
  margin-top: 5px !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.schedule-dates-ul::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  flex-shrink: 0;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: var(--custom-border);
  background-color: #fff;
  color: #515660;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background-color: #f6f7fb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-btn-left {
  margin-right: 4px;
}

.scroll-btn-right {
  margin-left: 4px;
}

.schedule-time-slots {
  width: 100px;
  border-right: 1px;
  border-right-style: inset;
  border-right-color: #e6edf3;
  height: 890px;
}

.schedule-dates-li {
  flex-shrink: 0;
  /* border: none !important; */
  /* color: #c4cbdf; */
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 1px;
  border-radius: 4px;
  color: #3f4458;
  line-height: 1rem;
  padding: 6px 8px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-dates-li:hover {
  /* background: #4da1ff; */
  /* color: white; */
  cursor: pointer;
  /* -webkit-box-shadow: 0 1px 15px 1px rgba(40,72,229,.2)!important; */
  /* box-shadow: 0 1px 15px 1px rgba(40,72,229,.2)!important; */

  color: #3f4458;
  background-color: #f0f2f8;
}

.schedule-dates-li-selected {
  flex-shrink: 0;
  /* border: none !important; */
  font-weight: 600;
  font-size: 12px;
  /* background: #4da1ff; */
  /* color: white; */
  /* -webkit-box-shadow: 0 1px 15px 1px rgba(40,72,229,.2)!important; */
  /* box-shadow: 0 1px 15px 1px rgba(40,72,229,.2)!important; */
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1rem;
  padding: 6px 8px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;

  /*color: #1567dd; */
  color: #ffffff;
  background-color: var(--theme-color);
}

.time-slot-li {
  text-align: center;
  border: none !important;
  color: #64748b;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0px 5px;
  width: 74px;
  background: #f9fafc;
}

.track-title {
  font-size: 12px;
  height: 50px;
  /* width: 200px; */ /*Commented by Vinay on 19-08-2021 coz now we are assigning width dynamic as per session // Code is in schedules_track.js file */
  text-align: center;
  background-color: #f9fafc;
  /*padding-top: 10px;*/
  line-height: 50px;
}

.track-title span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.track-icon {
  /* width: 15px; */
  height: 25px;
  /* border-bottom-color: white; */
  /* border-bottom: 1px solid white; */
}

.track-delete {
  /*background-image: url('images/delete-icon-grey.png');
  background-repeat: no-repeat;*/
  /*display: none;*/
  width: 30px;
  z-index: 100;
  right: 0;
  height: 48px;
  display: none;
  position: absolute;
}

.track-info {
  height: 100%;
  width: 200px;

  /* border-right: 1px;
  border-right-style: inset;
  border-right-color: white; */
  position: relative;
}

.track-content {
  background-color: white;
  background-image: 
    linear-gradient(transparent 1px, transparent 1px),
    linear-gradient(#e2e8f033 1px, transparent 1px);
  background-size: 
    100% 16px,
    100% 16px;
  background-position:
    0 0,
    0 16px;
  background-repeat: 
    no-repeat,
    repeat;
  width: 100%;
  height: 65vh;
  overflow-y: auto;
  overflow-x: auto;
}

.blank-space {
  background-color: white;
  width: 20px;
  height: 9000px;
  content: "";
}

.button-theme {
  font-size: 14px !important;
  text-transform: uppercase;
}

.button-theme:hover {
  cursor: pointer;
  /* filter: brightness(92%); */
}

.button-theme.button-theme-blue {
  /* background-color: #4da1ff !important;
  color: white !important;
  border-color: #4da1ff !important; */
  background-color: var(--theme-color);
  color: var(--color-white);
  border-color: var(--theme-color);
}

.schedule-button:hover {
  cursor: pointer;
  /* filter: brightness(98%); */
}

.schedule-table-header-div {
  height: 41px;
  border-bottom: 1px;
  border-bottom-style: inset;
  border-bottom-color: #e6edf3;
}

.schedule-table-header {
  background: #eff1f8;
}

.schedule-list-container {
  overflow-x: auto;
  overflow-y: hidden;
  height: 65vh;
}

.schedule-table {
  margin-top: 0px;
}

.schedule-table-header-blank-th {
  min-width: 75px;
  height: 50px;
  vertical-align: middle;
  text-align: center;
  background: #f9fafc;
  padding: 5px;
  border-right: 1px solid #e2e8f0;
}

.schedule-table-header-th {
  /* width: 200px; */ /*Commented by Vinay on 19-08-2021 coz now we are assigning width dynamic as per session // Code is in schedules_track.js file */
  height: 50px;
  vertical-align: middle;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  font-size: 12px;
  background-color: #eff1f8;
  position: relative;
  overflow: hidden;
}

.schedule-table-header-th:hover {
  cursor: pointer;
  filter: brightness(98%);
}

.schedule-table-header-th:hover .track-delete {
  display: block;
}

.table-header-add-track:hover {
  cursor: pointer;
  /* filter: brightness(98%); */
  color: #fff;
  /* background-color: #1567dd; */
  background-color: var(--theme-color);
}

.table-header-add-track {
  color: white;
  /* background-color: #2676ea; */
  background-color: var(--theme-color);
  text-transform: uppercase;
  padding: 0px !important;
}

.session-item:hover {
  filter: brightness(98%);
  cursor: pointer;
}

.session-item:hover .session-delete {
  display: block;
  cursor: pointer;
}
.schedule-title-text {
  font-size: 13px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.session-delete-icon {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-delete {
  top: 0px;
  width: 25px;
  color: grey;
  z-index: 100;
  right: 0;
  /* height: 50px; */
  /* opacity: 0.6; */
  display: none;
  position: absolute;
}

.session-delete img {
  margin-left: 5px;
}

.add-track-link {
  float: right;
  margin-top: -32px;
  border: none;
  padding: 5px 10px 5px 10px;
  /* border-radius: 5px; */
  /* color: white; */
  /* background-color: #4da1ff; */
}

.controlcss {
  width: 70% !important;
}

.user-category-select .Select-clear-zone {
  display: none;
}

.private-user-search {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0IDE0TDExLjEgMTEuMU0xMi42NjY3IDcuMzMzMzNDMTIuNjY2NyAxMC4yNzg5IDEwLjI3ODkgMTIuNjY2NyA3LjMzMzMzIDEyLjY2NjdDNC4zODc4MSAxMi42NjY3IDIgMTAuMjc4OSAyIDcuMzMzMzNDMiA0LjM4NzgxIDQuMzg3ODEgMiA3LjMzMzMzIDJDMTAuMjc4OSAyIDEyLjY2NjcgNC4zODc4MSAxMi42NjY3IDcuMzMzMzNaIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
  background-position: 2% 50%;
  padding-left: 40px !important;
  height: 40px !important;
  font-size: 15px !important;
}

.schedule-interest-section {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.schedule-interest-section .selected-interest {
  border: var(--bordercolor-theme);
  border-radius: 5px;
  color: var(--theme-color);
  padding: 2px 10px;
  margin-top: 5px;
}

.session-zoom-container {
  position: absolute;
  bottom: 30px;
  right: 50px;
  opacity: 1;
  background-color: #2b5df236;
  padding: 10px 20px;
  box-shadow: 5px 6px 5px #f3f6f9;
  border: var(--custom-border);
  border-radius: 10px;
}

.resizeAble {
  width: 100%;
  height: 5px;
  cursor: ns-resize;
  position: absolute;
  left: 0;
  background-color: transparent;
}

.resizeAble:hover,
.resizeAble-hover {
  background-color: #007bff80;
}

.add-track-hover {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.add-track-hover:hover {
  background-color: #e8f4ff;
}
/* ═══════════════════════════════════════════════════════════
   AI Overview Panel — Floating button + sliding panel
   ═══════════════════════════════════════════════════════════ */

/* Floating trigger button — fixed bottom-right */
.ai-overview-fab {
  position: fixed;
  bottom: 72px;
  right: 28px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 10px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.ai-overview-fab:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}
.ai-overview-fab:active {
  transform: translateY(0);
}
.ai-overview-fab-icon {
  font-size: 18px;
  line-height: 1;
}
.ai-overview-fab-label {
  color: #fff;
  white-space: nowrap;
}

/* Overlay drawer — slides in from the right over the existing UI */
.ai-overview-inline-panel {
  position: fixed;
  top: 72px;
  right: 0;
  bottom: 0;
  width: 440px;
  z-index: 3100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background: #fff;
  border-left: var(--custom-border);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-overview-inline-panel.active {
  transform: translateX(0);
}

/* Panel header */
.ai-overview-panel-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: var(--custom-border);
  background: #fff;
}

/* Refresh button */
.ai-overview-refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.ai-overview-refresh-btn:hover:not(:disabled) {
  background: #f3f4f6;
  color: var(--theme-color);
}
.ai-overview-refresh-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Tab bar */
.ai-overview-tabs {
  display: flex;
  border-bottom: var(--custom-border);
  background: #fafafa;
  flex-shrink: 0;
}
.ai-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 4px;
  cursor: pointer;
  color: var(--primary-text-color);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  font-size: 13px;
}
.ai-tab-btn:hover {
  color: var(--theme-color);
}
.ai-tab-btn-active {
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
  font-weight: 500;
}

/* Scrollable content area */
.ai-overview-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* Section spacing */
.ai-tab-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Section title row */
.ai-section-title {
  color: var(--primary-text-color);
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: var(--custom-border);
}

/* Stat cards in a 2-up row */
.ai-stat-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ai-stat-card {
  background: #f8f9fc;
  border: var(--custom-border);
  border-radius: 0.5rem;
  padding: 14px 12px;
  text-align: center;
}
.ai-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1.2;
}
.ai-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Bar rows */
.ai-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-bar-row-label {
  width: 100px;
  flex-shrink: 0;
  color: var(--primary-text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.ai-bar-track {
  flex: 1;
  height: 8px;
  background: #f0f2f8;
  border-radius: 4px;
  overflow: hidden;
}
.ai-bar-fill {
  height: 100%;
  background: var(--theme-color);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.ai-bar-row-value {
  width: 72px;
  flex-shrink: 0;
  text-align: right;
  color: var(--primary-text-color);
  white-space: nowrap;
  font-size: 12px;
}

/* Speaker rows */
.ai-speaker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fafafa;
}
.ai-speaker-rank {
  width: 22px;
  text-align: center;
  color: var(--theme-color);
  flex-shrink: 0;
}
.ai-speaker-info {
  flex: 1;
  min-width: 0;
}
.ai-speaker-topic {
  color: #6b7280;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-speaker-sessions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 1px 8px;
  min-width: 24px;
}

/* Attendance fill-rate bar */
.ai-fill-rate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8f9fc;
  border: var(--custom-border);
  border-radius: 0.5rem;
}
.ai-fill-rate-label {
  width: 70px;
  flex-shrink: 0;
  color: var(--primary-text-color);
  font-size: 13px;
}
.ai-fill-rate-bar-track {
  flex: 1;
  height: 10px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
}
.ai-fill-rate-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--theme-color), #60a5fa);
  border-radius: 5px;
  transition: width 0.5s ease;
}
.ai-fill-rate-value {
  width: 46px;
  flex-shrink: 0;
  text-align: right;
  color: var(--theme-color);
  font-size: 13px;
}

/* Attendance session rows */
.ai-attend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-attend-name {
  width: 130px;
  flex-shrink: 0;
  color: var(--primary-text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.ai-attend-num {
  width: 64px;
  flex-shrink: 0;
  text-align: right;
  color: var(--primary-text-color);
  font-size: 12px;
}

/* Health score circle */
.ai-health-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.ai-health-score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Health indicator pills */
.ai-health-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.ai-health-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 13px;
}
.ai-pill-green {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.ai-pill-amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.ai-pill-red {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--color-red);
}

/* ── Overview tab ── */
.ai-overview-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fc;
  border: var(--custom-border);
  border-radius: 0.5rem;
}
.ai-overview-meta-text {
  color: #6b7280;
  font-size: 12px;
}

.ai-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
}
.ai-highlight-icon {
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}
.ai-highlight-text {
  line-height: 1.5;
  color: var(--primary-text-color);
}
.ai-highlight-positive {
  background: #f0fdf4;
  border-left-color: #22c55e;
}
.ai-highlight-positive .ai-highlight-icon { color: #16a34a; }

.ai-highlight-warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
}
.ai-highlight-warning .ai-highlight-icon { color: #d97706; }

.ai-highlight-info {
  background: #eff6ff;
  border-left-color: var(--theme-color);
}
.ai-highlight-info .ai-highlight-icon { color: var(--theme-color); }

.ai-overview-summary {
  padding: 14px;
  background: #f8f9fc;
  border: var(--custom-border);
  border-radius: 0.5rem;
  margin-top: 4px;
}
.ai-overview-summary-label {
  color: var(--theme-color);
  margin-bottom: 6px;
}
.ai-overview-summary-text {
  color: var(--primary-text-color);
  line-height: 1.6;
  margin: 0;
}

/* Responsive: smaller screens */
@media (max-width: 480px) {
  .ai-overview-inline-panel.active {
    width: 100%;
  }
}

/* ─── Loading / Error States ─────────────────────────────────────────────── */

.ai-loading-state,
.ai-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
}

.ai-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--theme-color);
  border-radius: 50%;
  animation: ai-spin 0.8s linear infinite;
}

@keyframes ai-spin {
  to { transform: rotate(360deg); }
}
