/* IBM Recap - Modern Tabbed Design */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* IBM Color Palette */
  --ibm-blue: #0f62fe;
  --ibm-blue-hover: #0353e9;
  --ibm-gray-100: #161616;
  --ibm-gray-90: #262626;
  --ibm-gray-80: #393939;
  --ibm-gray-70: #525252;
  --ibm-gray-60: #6f6f6f;
  --ibm-gray-50: #8d8d8d;
  --ibm-gray-40: #a8a8a8;
  --ibm-gray-30: #c6c6c6;
  --ibm-gray-20: #e0e0e0;
  --ibm-gray-10: #f4f4f4;
  --ibm-teal: #009d9a;
  --ibm-purple: #8a3ffc;
  --ibm-green: #24a148;
  --ibm-yellow: #f1c21b;
  --ibm-red: #da1e28;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ibm-gray-100);
  color: var(--ibm-gray-10);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Mode */
body:not(.dark-mode) {
  background: #ffffff;
  color: var(--ibm-gray-100);
}

/* App Container */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  background: var(--ibm-blue);
  color: white;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .app-header {
  background: var(--ibm-blue);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--ibm-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  position: relative;
  padding-bottom: 0.25rem;
}

.logo-ibm {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-recap {
  font-weight: 600;
  position: relative;
}

.logo-recap::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

.header-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle-btn {
  background: var(--ibm-teal);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.theme-toggle-btn:hover {
  background: #007d79;
}

.user-menu {
  position: relative;
}

.user-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.user-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.user-indicator {
  width: 8px;
  height: 8px;
  background: var(--ibm-green);
  border-radius: 50%;
  display: inline-block;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  min-width: 240px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
}

body:not(.dark-mode) .user-dropdown {
  background: white;
  border-color: var(--ibm-gray-20);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-dropdown-header {
  padding: 16px;
  background: var(--ibm-gray-80);
}

body:not(.dark-mode) .user-dropdown-header {
  background: var(--ibm-gray-10);
}

.user-dropdown-name {
  font-weight: 600;
  font-size: 14px;
  color: white;
  margin-bottom: 4px;
}

body:not(.dark-mode) .user-dropdown-name {
  color: var(--ibm-gray-100);
}

.user-dropdown-email {
  font-size: 12px;
  color: var(--ibm-gray-40);
  word-break: break-all;
}

body:not(.dark-mode) .user-dropdown-email {
  color: var(--ibm-gray-60);
}

.user-dropdown-divider {
  height: 1px;
  background: var(--ibm-gray-80);
  margin: 0;
}

body:not(.dark-mode) .user-dropdown-divider {
  background: var(--ibm-gray-20);
}

.user-dropdown-item {
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

body:not(.dark-mode) .user-dropdown-item {
  color: var(--ibm-gray-100);
}

.user-dropdown-item:hover {
  background: var(--ibm-gray-80);
}

body:not(.dark-mode) .user-dropdown-item:hover {
  background: var(--ibm-gray-10);
}

/* Tab Navigation */
.tab-navigation {
  background: var(--ibm-gray-90);
  display: flex;
  gap: 0;
  padding: 0 32px;
  border-bottom: 1px solid var(--ibm-gray-80);
  overflow-x: auto;
}

body:not(.dark-mode) .tab-navigation {
  background: var(--ibm-gray-10);
  border-bottom: 1px solid var(--ibm-gray-20);
}

.tab-button {
  background: none;
  border: none;
  color: var(--ibm-gray-40);
  padding: 16px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

body:not(.dark-mode) .tab-button {
  color: var(--ibm-gray-70);
}

.tab-button:hover:not(.disabled) {
  color: var(--ibm-gray-10);
  background: rgba(255, 255, 255, 0.05);
}

body:not(.dark-mode) .tab-button:hover:not(.disabled) {
  color: var(--ibm-gray-100);
  background: rgba(0, 0, 0, 0.05);
}

.tab-button.active {
  color: var(--ibm-blue);
  border-bottom-color: var(--ibm-blue);
}

body:not(.dark-mode) .tab-button.active {
  color: var(--ibm-blue);
}

.tab-button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tab-icon {
  font-size: 20px;
}

.tab-label {
  font-size: 16px;
}

/* Main Content Area */
.main-content-area {
  flex: 1;
  padding: 32px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Home Tab */
.home-tab {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero Section Wrapper */
.hero-section-wrapper {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--ibm-gray-20);
}

body.dark-mode .hero-section-wrapper {
  border-bottom-color: var(--ibm-gray-80);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  padding: 48px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.hero-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.hero-btn-primary {
  background: var(--ibm-gray-10);
  color: var(--ibm-gray-100);
  border: 1px solid var(--ibm-gray-30);
}

.hero-btn-primary:hover {
  background: white;
  border-color: var(--ibm-gray-40);
}

body.dark-mode .hero-btn-primary {
  background: var(--ibm-gray-80);
  color: white;
  border-color: var(--ibm-gray-70);
}

body.dark-mode .hero-btn-primary:hover {
  background: var(--ibm-gray-70);
  border-color: var(--ibm-gray-60);
}

.hero-btn-secondary {
  background: var(--ibm-teal);
  color: white;
}

.hero-btn-secondary:hover {
  background: #007d79;
}

.hero-btn-tertiary {
  background: var(--ibm-gray-60);
  color: white;
}

.hero-btn-tertiary:hover {
  background: var(--ibm-gray-50);
}

body.dark-mode .hero-btn-tertiary {
  background: var(--ibm-gray-70);
}

body.dark-mode .hero-btn-tertiary:hover {
  background: var(--ibm-gray-60);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.hero-stat-card {
  background: var(--ibm-gray-20);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--ibm-gray-30);
}

body.dark-mode .hero-stat-card {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--ibm-gray-70);
  font-weight: 400;
}

body.dark-mode .hero-stat-label {
  color: var(--text-secondary);
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--ibm-blue);
  line-height: 1;
}

.hero-stat-desc {
  font-size: 13px;
  color: var(--ibm-gray-70);
  line-height: 1.4;
}

body.dark-mode .hero-stat-desc {
  color: var(--text-secondary);
}

.hero-video {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--ibm-gray-10);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .hero-video {
  background: var(--ibm-gray-90);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.home-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .home-title {
  color: var(--ibm-gray-100);
}

.home-subtitle {
  font-size: 16px;
  color: var(--ibm-gray-40);
  max-width: 800px;
}

body:not(.dark-mode) .home-subtitle {
  color: var(--ibm-gray-70);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--ibm-gray-90);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-80);
}

body:not(.dark-mode) .stat-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.stat-label {
  font-size: 14px;
  color: var(--ibm-gray-40);
  margin-bottom: 8px;
}

body:not(.dark-mode) .stat-label {
  color: var(--ibm-gray-70);
}

.stat-value {
  font-size: 36px;
  font-weight: 600;
  color: var(--ibm-blue);
  margin-bottom: 8px;
}

.stat-badge {
  display: inline-block;
  background: var(--ibm-teal);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* Recommended Card */
.recommended-card {
  background: var(--ibm-gray-90);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-80);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

body:not(.dark-mode) .recommended-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.recommended-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.recommended-icon {
  font-size: 32px;
}

.recommended-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recommended-title {
  font-size: 14px;
  color: var(--ibm-gray-40);
  font-weight: 500;
}

body:not(.dark-mode) .recommended-title {
  color: var(--ibm-gray-70);
}

.recommended-action {
  font-size: 16px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .recommended-action {
  color: var(--ibm-gray-100);
}

.filename {
  font-family: 'IBM Plex Mono', monospace;
  font-style: italic;
  color: var(--ibm-blue);
}

/* Search Section */
.search-section {
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  padding: 12px 16px;
}

body:not(.dark-mode) .search-bar {
  background: white;
  border-color: var(--ibm-gray-30);
}

.search-section .search-icon {
  font-size: 20px;
  color: var(--ibm-gray-40);
  position: static;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ibm-gray-10);
  font-size: 16px;
  outline: none;
}

body:not(.dark-mode) .search-input {
  color: var(--ibm-gray-100);
}

.search-input::placeholder {
  color: var(--ibm-gray-50);
}

.filters-button {
  background: var(--ibm-gray-70);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.filters-button:hover {
  background: var(--ibm-gray-60);
}

.filters-select,
.history-filter-select {
  background: var(--ibm-gray-70);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

body:not(.dark-mode) .filters-select,
body:not(.dark-mode) .history-filter-select {
  background: white;
  color: var(--ibm-gray-100);
  border: 1px solid var(--ibm-gray-30);
}

/* Files Section */
.files-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .section-title {
  color: var(--ibm-gray-100);
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-card {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

body:not(.dark-mode) .file-card {
  background: white;
  border-color: var(--ibm-gray-20);
}

.file-card:hover {
  border-color: var(--ibm-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 98, 254, 0.1);
}

.file-card-status-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.file-card-status-note.pending {
  color: var(--ibm-yellow);
}

.file-card-status-note.success {
  color: var(--ibm-green);
}

.file-card-status-note.error {
  color: var(--ibm-red);
}

.file-card.clickable:focus-visible {
  outline: 2px solid var(--ibm-blue);
  outline-offset: 2px;
}

.file-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ibm-gray-80);
  border-radius: 8px;
}

body:not(.dark-mode) .file-icon {
  background: var(--ibm-gray-10);
}

.meeting-detail-panel {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body:not(.dark-mode) .meeting-detail-panel {
  background: white;
  border-color: var(--ibm-gray-20);
}

.meeting-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.meeting-detail-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ibm-gray-50);
  margin-bottom: 8px;
}

.meeting-detail-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin: 0 0 6px 0;
}

body:not(.dark-mode) .meeting-detail-title {
  color: var(--ibm-gray-100);
}

.meeting-detail-copy {
  font-size: 14px;
  color: var(--ibm-gray-40);
}

.meeting-detail-close {
  background: transparent;
  border: 1px solid var(--ibm-gray-70);
  color: var(--ibm-gray-20);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

body:not(.dark-mode) .meeting-detail-close {
  color: var(--ibm-gray-100);
  border-color: var(--ibm-gray-30);
}

.meeting-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.meeting-detail-card {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 10px;
  padding: 16px;
}

body:not(.dark-mode) .meeting-detail-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.meeting-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ibm-gray-50);
  margin-bottom: 8px;
}

.meeting-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  line-height: 1.45;
}

body:not(.dark-mode) .meeting-detail-value {
  color: var(--ibm-gray-100);
}

.meeting-detail-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meeting-detail-error {
  background: rgba(218, 30, 40, 0.08);
  border: 1px solid rgba(218, 30, 40, 0.25);
  border-radius: 10px;
  padding: 16px;
}

.meeting-detail-error-copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ibm-red);
}

.meeting-detail-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .meeting-detail-section-title {
  color: var(--ibm-gray-100);
}

.meeting-detail-artifacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meeting-detail-artifact,
.meeting-detail-artifact-empty {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 10px;
  padding: 16px;
}

body:not(.dark-mode) .meeting-detail-artifact,
body:not(.dark-mode) .meeting-detail-artifact-empty {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.meeting-detail-artifact-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

body:not(.dark-mode) .meeting-detail-artifact-name {
  color: var(--ibm-gray-100);
}

.meeting-detail-artifact-meta,
.meeting-detail-artifact-empty {
  font-size: 13px;
  color: var(--ibm-gray-40);
  line-height: 1.5;
}

.meeting-detail-actions {
  display: flex;
  gap: 16px;
}

.meeting-detail-actions button {
  flex: 1;
}

.file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .file-name {
  color: var(--ibm-gray-100);
}

.file-meta {
  font-size: 14px;
  color: var(--ibm-gray-50);
}

.file-status {
  display: flex;
  gap: 8px;
}

/* Badges */
.badge {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-success {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
}

.badge-warning {
  background: rgba(241, 194, 27, 0.1);
  color: var(--ibm-yellow);
}

.badge-progress {
  background: rgba(15, 98, 254, 0.14);
  color: #a6c8ff;
}

body:not(.dark-mode) .badge-progress {
  color: var(--ibm-blue);
}

.badge-danger {
  background: rgba(218, 30, 40, 0.12);
  color: var(--ibm-red);
}

/* Upload Tab */
.upload-tab,
.transcribe-tab,
.summarize-tab {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.tab-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .tab-title {
  color: var(--ibm-gray-100);
}

.tab-subtitle {
  font-size: 16px;
  color: var(--ibm-gray-40);
}

body:not(.dark-mode) .tab-subtitle {
  color: var(--ibm-gray-70);
}

.upload-drop-zone {
  background: var(--ibm-gray-90);
  border: 2px dashed var(--ibm-gray-70);
  border-radius: 12px;
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: all 0.3s;
}

body:not(.dark-mode) .upload-drop-zone {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-30);
}

.upload-drop-zone.dragging {
  border-color: var(--ibm-blue);
  background: rgba(15, 98, 254, 0.05);
}

.upload-icon {
  font-size: 64px;
}

.upload-drop-zone h3 {
  font-size: 20px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .upload-drop-zone h3 {
  color: var(--ibm-gray-100);
}

.upload-drop-zone p {
  color: var(--ibm-gray-50);
}

.upload-button {
  cursor: pointer;
}

.upload-hint {
  font-size: 14px;
  color: var(--ibm-gray-50);
}
/* Upload Tab Two-Column Layout */
.upload-tab {
  max-width: none !important;
  width: 100%;
}

.upload-meeting-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(69, 137, 255, 0.35);
  background: linear-gradient(135deg, rgba(69, 137, 255, 0.12), rgba(0, 157, 154, 0.08));
}

.upload-meeting-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(69, 137, 255, 0.2);
  background: rgba(69, 137, 255, 0.08);
}

.upload-meeting-selector-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.upload-meeting-selector-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ibm-gray-40);
}

.upload-meeting-selector-subtitle {
  font-size: 14px;
  color: var(--ibm-gray-30);
  max-width: 760px;
}

.upload-meeting-selector-input {
  min-width: 300px;
}

.upload-meeting-context-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-meeting-context-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ibm-gray-40);
}

.upload-meeting-context-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .upload-meeting-context-title {
  color: var(--ibm-gray-100);
}

.upload-meeting-context-meta {
  font-size: 14px;
  color: var(--ibm-gray-30);
}

.upload-tab-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 64px;
  margin-top: 32px;
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 48px;
}

.upload-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.upload-right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upload-workflow-panel {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upload-workflow-callout {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(69, 137, 255, 0.12);
  border: 1px solid rgba(69, 137, 255, 0.24);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ibm-gray-20);
}

body:not(.dark-mode) .upload-workflow-callout {
  color: var(--ibm-gray-100);
}

.summary-context-panel {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body:not(.dark-mode) .summary-context-panel {
  background: white;
  border-color: var(--ibm-gray-20);
}

.summary-context-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.summary-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-context-card,
.summary-context-note-block {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 10px;
  padding: 14px;
}

body:not(.dark-mode) .summary-context-card,
body:not(.dark-mode) .summary-context-note-block {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.summary-context-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ibm-gray-50);
  margin-bottom: 6px;
}

.summary-context-value,
.summary-context-copy {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ibm-gray-10);
  overflow-wrap: anywhere;
}

body:not(.dark-mode) .summary-context-value,
body:not(.dark-mode) .summary-context-copy {
  color: var(--ibm-gray-100);
}

.summary-context-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body:not(.dark-mode) .upload-workflow-panel {
  background: white;
  border-color: var(--ibm-gray-20);
}

.upload-workflow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.upload-workflow-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ibm-gray-50);
  margin-bottom: 6px;
}

.upload-workflow-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin: 0;
}

body:not(.dark-mode) .upload-workflow-title {
  color: var(--ibm-gray-100);
}

.upload-workflow-badge {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.upload-workflow-badge.success {
  background: rgba(36, 161, 72, 0.14);
  color: var(--ibm-green);
}

.upload-workflow-badge.warning {
  background: rgba(241, 194, 27, 0.14);
  color: var(--ibm-yellow);
}

.upload-workflow-badge.neutral {
  background: rgba(15, 98, 254, 0.12);
  color: var(--ibm-blue);
}

.upload-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upload-workflow-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--ibm-gray-80);
}

.upload-workflow-step:first-child {
  border-top: none;
  padding-top: 0;
}

body:not(.dark-mode) .upload-workflow-step {
  border-top-color: var(--ibm-gray-20);
}

.upload-workflow-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ibm-gray-80);
  color: var(--ibm-gray-20);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

body:not(.dark-mode) .upload-workflow-step-icon {
  background: var(--ibm-gray-10);
  color: var(--ibm-gray-100);
}

.upload-workflow-step.complete .upload-workflow-step-icon {
  background: rgba(36, 161, 72, 0.16);
  color: var(--ibm-green);
}

.upload-workflow-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin-bottom: 4px;
}

body:not(.dark-mode) .upload-workflow-step-title {
  color: var(--ibm-gray-100);
}

.upload-workflow-step-copy {
  font-size: 14px;
  color: var(--ibm-gray-40);
  line-height: 1.5;
}

.upload-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.upload-detail-card {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}

body:not(.dark-mode) .upload-detail-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.upload-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ibm-gray-50);
  margin-bottom: 8px;
}

.upload-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  line-height: 1.45;
}

body:not(.dark-mode) .upload-detail-value {
  color: var(--ibm-gray-100);
}

.upload-detail-value.break {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.upload-next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload-next-step-copy {
  font-size: 14px;
  color: var(--ibm-gray-30);
  line-height: 1.55;
}

.upload-next-step-note {
  font-size: 13px;
  color: var(--ibm-gray-50);
  line-height: 1.5;
}

/* Upload Actions */
.upload-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.upload-actions button {
  flex: 1;
}
/* Transcribe Tab Two-Column Layout */
.transcribe-tab {
  max-width: none !important;
  width: 100%;
}

.transcribe-tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 32px;
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 48px;
}

.transcribe-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.transcribe-right-column {
  display: flex;
  flex-direction: column;
}

/* Summarize Tab Two-Column Layout */
.summarize-tab {
  max-width: none !important;
  width: 100%;
}

.summarize-tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 32px;
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 48px;
}

.summarize-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summarize-right-column {
  display: flex;
  flex-direction: column;
}

.account-tab {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.account-page {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.account-page-topbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.account-back-button {
  background: transparent;
  border: 1px solid var(--ibm-gray-70);
  color: var(--ibm-gray-20);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

body:not(.dark-mode) .account-back-button {
  color: var(--ibm-gray-100);
  border-color: var(--ibm-gray-30);
  background: white;
}

.account-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.account-panel {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body:not(.dark-mode) .account-panel {
  background: white;
  border-color: var(--ibm-gray-20);
}

.account-section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .account-section-title {
  color: var(--ibm-gray-100);
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ibm-gray-20);
}

body:not(.dark-mode) .account-form label {
  color: var(--ibm-gray-100);
}

.account-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-70);
  background: var(--ibm-gray-80);
  color: var(--ibm-gray-10);
  font-size: 14px;
}

.account-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-70);
  background: var(--ibm-gray-80);
  color: var(--ibm-gray-10);
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  resize: vertical;
  min-height: 120px;
}

body:not(.dark-mode) .account-form input {
  background: white;
  border-color: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

body:not(.dark-mode) .account-form textarea {
  background: white;
  border-color: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

.account-form input:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.account-form small {
  color: var(--ibm-gray-50);
  font-size: 12px;
}

.account-preferences-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-preference-card,
.account-toggle-row {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 10px;
  padding: 16px;
}

body:not(.dark-mode) .account-preference-card,
body:not(.dark-mode) .account-toggle-row {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.account-preference-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-preference-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-preference-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .account-preference-title {
  color: var(--ibm-gray-100);
}

.account-preference-description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ibm-gray-40);
}

.account-segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-segmented-option {
  border: 1px solid var(--ibm-gray-60);
  background: transparent;
  color: var(--ibm-gray-20);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

body:not(.dark-mode) .account-segmented-option {
  color: var(--ibm-gray-90);
  border-color: var(--ibm-gray-30);
}

.account-segmented-option.selected {
  background: rgba(15, 98, 254, 0.14);
  border-color: rgba(15, 98, 254, 0.6);
  color: #a6c8ff;
}

body:not(.dark-mode) .account-segmented-option.selected {
  color: var(--ibm-blue);
}

.account-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ibm-blue);
  flex-shrink: 0;
}

.account-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-70);
  background: var(--ibm-gray-80);
  color: var(--ibm-gray-10);
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
}

body:not(.dark-mode) .account-select {
  background: white;
  border-color: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

.account-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.account-meta-card {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 8px;
  padding: 16px;
}

body:not(.dark-mode) .account-meta-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.account-meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ibm-gray-50);
  margin-bottom: 6px;
}

.account-meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .account-meta-value {
  color: var(--ibm-gray-100);
}

.account-storage-summary {
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.18), rgba(0, 157, 154, 0.14));
  border: 1px solid rgba(15, 98, 254, 0.24);
  border-radius: 12px;
  padding: 24px;
}

.account-storage-total {
  font-size: 36px;
  font-weight: 700;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .account-storage-total {
  color: var(--ibm-gray-100);
}

.account-storage-label {
  font-size: 16px;
  font-weight: 500;
  margin-top: 4px;
}

.account-storage-subtitle {
  margin-top: 8px;
  color: var(--ibm-gray-40);
  font-size: 14px;
}

.account-storage-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  margin-top: 16px;
}

body:not(.dark-mode) .account-storage-progress {
  background: rgba(15, 98, 254, 0.12);
}

.account-storage-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ibm-blue), var(--ibm-teal));
}

@media (max-width: 980px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-toggle-row {
    align-items: flex-start;
  }
}


/* Recent Uploads Panel */
.recent-uploads-panel {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 24px;
}

body:not(.dark-mode) .recent-uploads-panel {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.recent-uploads-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  color: var(--ibm-gray-50);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 8px;
  color: var(--ibm-gray-10);
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: all 0.2s;
}

body:not(.dark-mode) .search-input {
  background: #ffffff;
  border-color: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

.search-input:focus {
  outline: none;
  border-color: var(--ibm-blue);
  box-shadow: 0 0 0 2px rgba(15, 98, 254, 0.1);
}

.search-input::placeholder {
  color: var(--ibm-gray-50);
}

.recent-uploads-badge {
  background: var(--ibm-gray-70);
  color: var(--ibm-gray-10);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

body:not(.dark-mode) .recent-uploads-badge {
  background: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

.recent-uploads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-upload-card {
  background: var(--ibm-gray-80);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.2s;
  cursor: pointer;
}

body:not(.dark-mode) .recent-upload-card {
  background: #ffffff;
  border-color: var(--ibm-gray-20);
}

.recent-upload-card:hover {
  border-color: var(--ibm-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recent-upload-card:focus-visible {
  outline: 2px solid var(--ibm-blue);
  outline-offset: 2px;
  border-color: var(--ibm-blue);
}

.recent-upload-card.needs-conversion {
  border-color: var(--ibm-yellow);
  background: rgba(241, 194, 27, 0.05);
}

.recent-upload-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.recent-upload-info {
  flex: 1;
  min-width: 0;
}

.recent-upload-filename {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin-bottom: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

body:not(.dark-mode) .recent-upload-filename {
  color: var(--ibm-gray-100);
}

.recent-upload-meta {
  font-size: 13px;
  color: var(--ibm-gray-50);
  line-height: 1.4;
}

.recent-upload-warning {
  color: var(--ibm-yellow);
  font-weight: 500;
}

.recent-upload-status {
  flex-shrink: 0;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-audio {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  border: 1px solid var(--ibm-green);
}

.status-warning {
  background: rgba(241, 194, 27, 0.1);
  color: var(--ibm-yellow);
  border: 1px solid var(--ibm-yellow);
}

.status-success {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  border: 1px solid var(--ibm-green);
}

/* Responsive Design for Upload Tab */
@media (max-width: 1200px) {
  .upload-tab-content {
    grid-template-columns: 1fr;
  }

  .upload-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .account-grid {
    grid-template-columns: 1fr;
  }
  
  .account-meta-grid {
    grid-template-columns: 1fr;
  }

  .meeting-detail-grid {
    grid-template-columns: 1fr;
  }

  .meeting-detail-actions {
    flex-direction: column;
  }
}

/* Responsive Design for Transcribe and Summarize Tabs */
@media (max-width: 1200px) {
  .transcribe-tab-content,
  .summarize-tab-content {
    grid-template-columns: 1fr;
  }
}
/* Coming Soon Tab Styles */
.coming-soon-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 64px;
}

.coming-soon-content {
  text-align: center;
}

/* Record Tab Styles */
.record-tab {
  max-width: none !important;
  width: 100%;
}

.meetings-tab {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.record-tab-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 48px;
  margin-top: 48px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 64px 64px 64px;
}

.record-left-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.record-right-column {
  display: flex;
  flex-direction: column;
}

.record-header {
  margin-bottom: 24px;
}

.record-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.meeting-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.2s ease;
}

.dark-mode .meeting-card {
  background: #262626;
  border-color: #393939;
}

.meeting-card-primary {
  border-color: rgba(69, 137, 255, 0.35);
  background: linear-gradient(135deg, rgba(69, 137, 255, 0.12), rgba(0, 157, 154, 0.1));
}

body:not(.dark-mode) .meeting-card-primary {
  background: linear-gradient(135deg, rgba(69, 137, 255, 0.08), rgba(0, 157, 154, 0.08));
}

.meeting-card-error {
  border-color: rgba(218, 30, 40, 0.28);
  background: rgba(218, 30, 40, 0.06);
}

.meeting-card-calendar {
  padding: 24px;
}

.meetings-compose-panel {
  gap: 24px;
}

.meetings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.meetings-form-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.meeting-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.meeting-card:hover {
  border-color: var(--ibm-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dark-mode .meeting-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.meeting-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8daff;
  border-radius: 8px;
  flex-shrink: 0;
  color: #8a3ffc;
}

.dark-mode .meeting-icon {
  background: #393939;
  color: #be95ff;
}

.meeting-icon svg {
  width: 24px;
  height: 24px;
}

.meeting-info {
  flex: 1;
  min-width: 0;
}

.meetings-history-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meetings-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.meeting-title {
  font-size: 18px;
  font-weight: 600;
  color: #161616;
  margin-bottom: 8px;
}

.dark-mode .meeting-title {
  color: #f4f4f4;
}

.meeting-meta {
  font-size: 14px;
  color: #525252;
  line-height: 1.6;
}

.dark-mode .meeting-meta {
  color: #a8a8a8;
}

.meetings-filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.meetings-search-container {
  flex: 1;
  min-width: 280px;
}

.meetings-archive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #525252;
}

.dark-mode .meetings-archive-toggle {
  color: #c6c6c6;
}

.meeting-card-secondary-meta {
  font-size: 13px;
  color: #6f6f6f;
  line-height: 1.5;
  margin-top: 8px;
}

.dark-mode .meeting-card-secondary-meta {
  color: #c6c6c6;
}

.meeting-card-notes {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #525252;
  background: rgba(141, 141, 141, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
}

.dark-mode .meeting-card-notes {
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.04);
}

.meeting-card-link-row {
  margin-top: 10px;
}

.meeting-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #0f62fe;
  text-decoration: none;
}

.meeting-card-link:hover {
  text-decoration: underline;
}

.archived-meeting-card {
  opacity: 0.82;
  border-style: dashed;
}

.archived-meeting-card .file-name {
  color: #8d8d8d;
}

.dark-mode .archived-meeting-card .file-name {
  color: #c6c6c6;
}

@media (max-width: 960px) {
  .upload-meeting-selector {
    align-items: stretch;
  }

  .upload-meeting-selector-input {
    width: 100%;
    min-width: 0;
  }
}

.btn-teams {
  background: #4589FF;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-teams:hover {
  background: #0f62fe;
}

.btn-teams-secondary {
  background: #4589FF;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-teams-secondary:hover {
  background: #0f62fe;
}

/* Intent Panel Styles (shared by Record and Analytics) */
.intent-panel {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  height: fit-content;
  position: sticky;
  top: 32px;
}

.dark-mode .intent-panel {
  background: #262626;
  border-color: #393939;
}

.intent-title {
  font-size: 20px;
  font-weight: 600;
  color: #161616;
  margin-bottom: 32px;
}

.dark-mode .intent-title {
  color: #f4f4f4;
}

.intent-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.intent-item:last-child {
  margin-bottom: 0;
}

.intent-number {
  width: 36px;
  height: 36px;
  background: #4589FF;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.intent-content {
  flex: 1;
  padding-top: 4px;
}

.intent-heading {
  font-size: 16px;
  font-weight: 600;
  color: #161616;
  margin-bottom: 8px;
}

.dark-mode .intent-heading {
  color: #f4f4f4;
}

.intent-description {
  font-size: 14px;
  color: #525252;
  line-height: 1.6;
}

.dark-mode .intent-description {
  color: #a8a8a8;
}

/* Ask Recap Tab Styles */
.ask-recap-tab {
  max-width: none !important;
  width: 100%;
}

.ask-recap-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.ask-recap-sidebar,
.ask-recap-conversation {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
}

.dark-mode .ask-recap-conversation {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.06);
}

.ask-recap-sidebar {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: calc(100vh - 160px);
  position: sticky;
  top: 20px;
}

.ask-recap-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ask-recap-sidebar-note {
  font-size: 12px;
  color: #a8a8a8;
  line-height: 1.5;
  padding: 0 4px;
}

.ask-recap-new-chat {
  width: 100%;
  justify-content: center;
}

.ask-recap-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-recap-sidebar-label {
  font-size: 13px;
  color: #8d8d8d;
  font-weight: 500;
  padding: 0 6px;
}

.ask-recap-chat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ask-recap-chat-card {
  position: relative;
}

.ask-recap-focus-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-recap-focus-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #c6c6c6;
  font-size: 13px;
  padding: 0 6px;
}

.ask-recap-focus-select {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f4;
  border-radius: 10px;
  padding: 10px 12px;
}

.ask-recap-focus-meetings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ask-recap-focus-meeting {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: #f4f4f4;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.ask-recap-focus-meeting:hover,
.ask-recap-focus-meeting.active {
  border-color: rgba(69, 137, 255, 0.22);
  background: rgba(69, 137, 255, 0.1);
}

.ask-recap-focus-meeting-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.ask-recap-focus-meeting-meta {
  font-size: 12px;
  color: #a8a8a8;
}

.ask-recap-focus-clear {
  border: none;
  background: transparent;
  color: #78a9ff;
  text-align: left;
  padding: 0 6px;
  font-size: 13px;
  cursor: pointer;
}

.ask-recap-chat-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 12px 76px 12px 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ask-recap-chat-item.active,
.ask-recap-chat-item:hover {
  border-color: rgba(69, 137, 255, 0.18);
  background: rgba(69, 137, 255, 0.12);
}

.ask-recap-chat-title {
  font-size: 14px;
  font-weight: 600;
  color: #f4f4f4;
  margin-bottom: 4px;
}

.ask-recap-chat-meta,
.ask-recap-citation-line {
  font-size: 13px;
  color: #a8a8a8;
  line-height: 1.5;
}

.ask-recap-chat-inline-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.ask-recap-chat-card:hover .ask-recap-chat-inline-actions,
.ask-recap-chat-card.active .ask-recap-chat-inline-actions {
  opacity: 1;
  pointer-events: auto;
}

.ask-recap-chat-inline-action {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f4f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ask-recap-chat-inline-action:hover {
  background: rgba(69, 137, 255, 0.14);
  border-color: rgba(69, 137, 255, 0.24);
}

.ask-recap-chat-inline-action.danger:hover {
  background: rgba(255, 131, 131, 0.14);
  border-color: rgba(255, 131, 131, 0.24);
}

.ask-recap-chat-inline-icon {
  font-size: 16px;
  line-height: 1;
}

.ask-recap-chat-inline-tooltip {
  position: absolute;
  top: -34px;
  right: 0;
  white-space: nowrap;
  border-radius: 8px;
  background: #262626;
  color: #f4f4f4;
  font-size: 11px;
  line-height: 1;
  padding: 7px 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.ask-recap-chat-inline-action:hover .ask-recap-chat-inline-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.ask-recap-prompt-chip {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f4;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ask-recap-prompt-chip:hover {
  background: rgba(69, 137, 255, 0.14);
  border-color: rgba(69, 137, 255, 0.24);
}

.ask-recap-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ask-recap-conversation {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 160px);
  overflow: hidden;
}

.ask-recap-message-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  padding: 36px 0 28px;
  width: min(900px, calc(100% - 72px));
  margin: 0 auto;
}

.ask-recap-message {
  display: flex;
  width: 100%;
}

.ask-recap-message.user {
  justify-content: flex-end;
}

.ask-recap-message.assistant {
  justify-content: flex-start;
}

.ask-recap-message-body {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(760px, 100%);
}

.ask-recap-message.user .ask-recap-message-body {
  max-width: min(680px, 82%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 18px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ask-recap-message.assistant .ask-recap-message-body {
  max-width: min(780px, 100%);
}

.ask-recap-message-copy {
  font-size: 17px;
  line-height: 1.65;
  color: #f4f4f4;
  white-space: pre-wrap;
}

.ask-recap-rendered-paragraph {
  margin: 0;
}

.ask-recap-rendered-paragraph + .ask-recap-rendered-paragraph {
  margin-top: 18px;
}

.ask-recap-rendered-list {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-recap-rendered-list + .ask-recap-rendered-paragraph,
.ask-recap-rendered-paragraph + .ask-recap-rendered-list,
.ask-recap-rendered-list + .ask-recap-rendered-list {
  margin-top: 18px;
}

.ask-recap-rendered-list li {
  padding-left: 4px;
}

.ask-recap-status-shell {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ask-recap-status-graphic {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
}

.ask-recap-status-graphic span {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: #78a9ff;
  animation: askRecapPulse 1s ease-in-out infinite;
}

.ask-recap-status-graphic span:nth-child(1) {
  height: 9px;
}

.ask-recap-status-graphic span:nth-child(2) {
  height: 15px;
  animation-delay: 0.15s;
}

.ask-recap-status-graphic span:nth-child(3) {
  height: 11px;
  animation-delay: 0.3s;
}

.ask-recap-status-copy {
  font-size: 14px;
  color: #c6c6c6;
  letter-spacing: 0.01em;
}

@keyframes askRecapPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.12);
  }
}

.ask-recap-composer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(22, 22, 22, 0.96);
}

.ask-recap-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ask-recap-attachment-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(69, 137, 255, 0.18);
  background: rgba(69, 137, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
}

.ask-recap-attachment-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ask-recap-attachment-label {
  font-size: 13px;
  font-weight: 600;
  color: #f4f4f4;
}

.ask-recap-attachment-meta {
  font-size: 12px;
  color: #a8a8a8;
}

.ask-recap-attachment-remove {
  border: none;
  background: transparent;
  color: #c6c6c6;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.ask-recap-composer-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
}

.ask-recap-attach-shell {
  position: relative;
}

.ask-recap-attach-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #f4f4f4;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.ask-recap-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: 320px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #2d2d2d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 20;
}

.ask-recap-attach-menu-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #f4f4f4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
}

.ask-recap-attach-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ask-recap-attach-menu-icon {
  font-size: 24px;
  width: 28px;
  text-align: center;
}

.ask-recap-attach-menu-arrow {
  margin-left: auto;
  font-size: 28px;
  line-height: 1;
  color: #c6c6c6;
}

.ask-recap-recent-files {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ask-recap-recent-files-empty {
  padding: 12px 14px;
  font-size: 14px;
  color: #c6c6c6;
}

.ask-recap-recent-file {
  border: none;
  background: transparent;
  color: #f4f4f4;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
}

.ask-recap-recent-file:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ask-recap-recent-file-title {
  font-size: 14px;
  font-weight: 600;
}

.ask-recap-recent-file-meta {
  font-size: 12px;
  color: #a8a8a8;
}

.ask-recap-composer-input {
  width: 100%;
  min-height: 28px;
  max-height: 140px;
  resize: none;
  border: none;
  outline: none;
  padding: 8px 2px;
  font-size: 16px;
  background: transparent;
  color: #f4f4f4;
  line-height: 1.5;
}

.ask-recap-send-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(69, 137, 255, 0.18);
  color: #f4f4f4;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ask-recap-send-button:hover:not(:disabled) {
  background: rgba(69, 137, 255, 0.3);
  transform: translateY(-1px);
}

.ask-recap-send-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ask-recap-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  text-align: center;
}

.ask-recap-empty-title {
  font-size: 54px;
  font-weight: 600;
  color: #f4f4f4;
  letter-spacing: -0.03em;
}

.ask-recap-empty-prompts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.ask-recap-prompt-card {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f4;
  border-radius: 22px;
  min-height: 136px;
  padding: 22px 20px;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ask-recap-prompt-card:hover {
  border-color: rgba(69, 137, 255, 0.3);
  background: rgba(69, 137, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design for Record and Analytics Tabs */
@media (max-width: 1200px) {
  .record-tab-content,
  .ask-recap-shell {
    grid-template-columns: 1fr;
  }

  .ask-recap-sidebar {
    position: static;
  }

  .ask-recap-message-list,
  .ask-recap-empty-state {
    width: calc(100% - 40px);
  }

  .ask-recap-empty-prompts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ask-recap-shell {
    padding: 0 12px 24px;
  }

  .ask-recap-empty-title {
    font-size: 34px;
  }

  .ask-recap-empty-prompts {
    grid-template-columns: 1fr;
  }

  .ask-recap-composer {
    padding: 14px 14px 18px;
  }

  .ask-recap-composer-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ask-recap-attach-menu {
    width: min(320px, calc(100vw - 48px));
  }
}

.upload-success {
  background: rgba(36, 161, 72, 0.1);
  border: 1px solid var(--ibm-green);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.success-icon {
  font-size: 32px;
  color: var(--ibm-green);
}

.success-text {
  flex: 1;
}

.success-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-green);
  margin-bottom: 4px;
}

.success-filename {
  font-size: 14px;
  color: var(--ibm-gray-40);
  font-family: 'IBM Plex Mono', monospace;
}

/* Audio Player */
.audio-player-container {
  background: var(--ibm-gray-10);
  border: 1px solid var(--ibm-gray-20);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

body.dark-mode .audio-player-container {
  background: var(--ibm-gray-90);
  border-color: var(--ibm-gray-80);
}

.audio-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.audio-player-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.audio-player-status {
  background: #d0f0d0;
  color: #0f5132;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

body.dark-mode .audio-player-status {
  background: rgba(36, 161, 72, 0.2);
  color: var(--ibm-green);
}

.audio-player-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
}

.audio-player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--ibm-gray-20);
}

body.dark-mode .audio-player-controls {
  background: var(--ibm-gray-100);
  border-color: var(--ibm-gray-90);
}

.audio-play-button {
  background: var(--ibm-blue);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.audio-play-button:hover {
  background: #0050e6;
}

.audio-time {
  font-size: 13px;
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', monospace;
  white-space: nowrap;
  flex-shrink: 0;
}

.audio-progress-container {
  flex: 1;
  cursor: pointer;
  padding: 8px 0;
}

.audio-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--ibm-gray-30);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

body.dark-mode .audio-progress-bar {
  background: var(--ibm-gray-80);
}

.audio-progress-fill {
  height: 100%;
  background: var(--ibm-blue);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.audio-volume-control {
  position: relative;
  flex-shrink: 0;
}

.audio-volume-button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-volume-slider {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  margin-bottom: 40px;
  width: 80px;
}

.audio-more-options {
  position: relative;
  flex-shrink: 0;
}

.audio-more-button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.audio-options-menu {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 8px;
  background: white;
  border: 1px solid var(--ibm-gray-20);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 100;
}

body.dark-mode .audio-options-menu {
  background: var(--ibm-gray-90);
  border-color: var(--ibm-gray-80);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.audio-options-section {
  padding: 8px 0;
  border-bottom: 1px solid var(--ibm-gray-20);
}

body.dark-mode .audio-options-section {
  border-bottom-color: var(--ibm-gray-80);
}

.audio-options-label {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.audio-option-item {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.audio-option-item:hover {
  background: var(--ibm-gray-10);
}

body.dark-mode .audio-option-item:hover {
  background: var(--ibm-gray-80);
}

.audio-option-item.active {
  color: var(--ibm-blue);
  font-weight: 500;
}

.audio-player-info {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.audio-player-info strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* File Ready Card */
.file-ready-card {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

body:not(.dark-mode) .file-ready-card {
  background: white;
  border-color: var(--ibm-gray-20);
}

.file-status-text {
  font-size: 14px;
  color: var(--ibm-gray-50);
}

/* Empty State */
.empty-state {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

body:not(.dark-mode) .empty-state {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-20);
}

.empty-icon {
  font-size: 64px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .empty-state h3 {
  color: var(--ibm-gray-100);
}

.empty-state p {
  color: var(--ibm-gray-50);
}

/* Progress Card */
.progress-card {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-80);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body:not(.dark-mode) .progress-card {
  background: white;
  border-color: var(--ibm-gray-20);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .progress-label {
  color: var(--ibm-gray-100);
}

.progress-percent {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-blue);
}

.progress-message {
  font-size: 14px;
  color: var(--ibm-gray-50);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--ibm-gray-80);
  border-radius: 4px;
  overflow: hidden;
}

body:not(.dark-mode) .progress-bar {
  background: var(--ibm-gray-20);
}

.progress-fill {
  height: 100%;
  background: var(--ibm-blue);
  transition: width 0.3s ease;
}

/* Download Section */
.download-section {
  display: flex;
  gap: 16px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--ibm-blue);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--ibm-blue-hover);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--ibm-gray-70);
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--ibm-gray-60);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: var(--ibm-gray-90);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body:not(.dark-mode) .modal-content {
  background: white;
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--ibm-gray-80);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body:not(.dark-mode) .modal-header {
  border-bottom-color: var(--ibm-gray-20);
}

.modal-header h2 {
  font-size: 24px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .modal-header h2 {
  color: var(--ibm-gray-100);
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--ibm-gray-50);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .modal-close:hover {
  color: var(--ibm-gray-100);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-description {
  font-size: 16px;
  color: var(--ibm-gray-40);
}

body:not(.dark-mode) .modal-description {
  color: var(--ibm-gray-70);
}

.option-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  background: var(--ibm-gray-80);
  border: 2px solid var(--ibm-gray-70);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  transition: all 0.2s;
}

body:not(.dark-mode) .option-card {
  background: var(--ibm-gray-10);
  border-color: var(--ibm-gray-30);
}

.option-card:hover {
  border-color: var(--ibm-blue);
}

.option-card input[type="radio"] {
  margin-top: 4px;
}

.option-content {
  flex: 1;
}

.option-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-10);
  margin-bottom: 4px;
}

body:not(.dark-mode) .option-title {
  color: var(--ibm-gray-100);
}

.option-description {
  font-size: 14px;
  color: var(--ibm-gray-50);
}

.custom-options {
  background: var(--ibm-gray-80);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body:not(.dark-mode) .custom-options {
  background: var(--ibm-gray-10);
}

.custom-options h3 {
  font-size: 16px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .custom-options h3 {
  color: var(--ibm-gray-100);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .checkbox-label {
  color: var(--ibm-gray-100);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .input-group label {
  color: var(--ibm-gray-100);
}

.text-input {
  background: var(--ibm-gray-90);
  border: 1px solid var(--ibm-gray-70);
  border-radius: 4px;
  padding: 12px;
  color: var(--ibm-gray-10);
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
}

body:not(.dark-mode) .text-input {
  background: white;
  border-color: var(--ibm-gray-30);
  color: var(--ibm-gray-100);
}

.text-input:focus {
  outline: none;
  border-color: var(--ibm-blue);
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid var(--ibm-gray-80);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

body:not(.dark-mode) .modal-footer {
  border-top-color: var(--ibm-gray-20);
}

/* Coming Soon Tab */
.coming-soon-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 64px 32px;
  text-align: center;
  min-height: 400px;
}

.coming-soon-icon {
  font-size: 96px;
}

.coming-soon-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .coming-soon-title {
  color: var(--ibm-gray-100);
}

.coming-soon-description {
  font-size: 18px;
  color: var(--ibm-gray-50);
  max-width: 600px;
}

.coming-soon-badge {
  background: var(--ibm-purple);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content-area {
    padding: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .app-header {
    padding: 12px 16px;
  }
  
  .logo-title {
    font-size: 16px;
  }
  
  .logo-subtitle {
    font-size: 8px;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .header-link {
    display: none;
  }
  
  .tab-navigation {
    padding: 0 16px;
    overflow-x: auto;
  }
  
  .tab-button {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .tab-label {
    display: none;
  }
  
  .main-content-area {
    padding: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .recommended-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-section {
    flex-direction: column;
  }
  
  .filters-button {
    width: 100%;
  }
  
  .file-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .home-title,
  .tab-title {
    font-size: 24px;
  }
  
  .hero-section {
    padding: 24px 16px;
    gap: 24px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 15px;
  }
  
  .hero-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-stat-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .user-button {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .theme-toggle-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ibm-gray-90);
}

body:not(.dark-mode) ::-webkit-scrollbar-track {
  background: var(--ibm-gray-10);
}

::-webkit-scrollbar-thumb {
  background: var(--ibm-gray-70);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ibm-gray-60);
}

/* Made with Bob */


/* ===================================
   Transcribe Tab Redesign Styles
   =================================== */

/* Transcribe Header with Badge */
.transcribe-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.transcript-ready-badge {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

body:not(.dark-mode) .transcript-ready-badge {
  background: rgba(36, 161, 72, 0.15);
}

/* File Context Card */
.transcribe-file-card {
  background: var(--ibm-gray-10);
  border: 1px solid var(--ibm-gray-20);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

body.dark-mode .transcribe-file-card {
  background: var(--ibm-gray-90);
  border-color: var(--ibm-gray-80);
}

.file-card-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 98, 254, 0.1);
  border-radius: 8px;
}

.file-card-info {
  flex: 1;
}

.file-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-100);
  margin-bottom: 4px;
}

body.dark-mode .file-card-name {
  color: var(--ibm-gray-10);
}

.file-card-meta {
  font-size: 14px;
  color: var(--ibm-gray-60);
}

.file-card-badge {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;

/* Feature with Input Field */
.feature-with-input {
  flex-direction: column;
  align-items: flex-start;
}

.feature-with-input > input[type="checkbox"] {
  margin-bottom: 0;
}

.feature-with-input .feature-content {
  width: 100%;
  margin-left: 32px;
}

.redact-input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 12px;
  border: 1px solid var(--ibm-gray-30);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  background: white;
  color: var(--ibm-gray-100);
  transition: border-color 0.2s;
}

body.dark-mode .redact-input {
  background: var(--ibm-gray-80);
  border-color: var(--ibm-gray-70);
  color: var(--ibm-gray-10);
}

.redact-input:focus {
  outline: none;
  border-color: var(--ibm-blue);
}

.redact-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.redact-input::placeholder {
  color: var(--ibm-gray-50);
}
}

/* Transcript Options Grid */
.transcript-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.transcript-option-card {
  background: var(--ibm-gray-10);
  border: 2px solid var(--ibm-gray-30);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

body.dark-mode .transcript-option-card {
  background: var(--ibm-gray-90);
  border-color: var(--ibm-gray-70);
}

.transcript-option-card:hover {
  border-color: var(--ibm-blue);
}

.transcript-option-card.selected {
  border-color: var(--ibm-blue);
  background: rgba(15, 98, 254, 0.05);
}

body.dark-mode .transcript-option-card.selected {
  background: rgba(15, 98, 254, 0.1);
}

.transcript-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-card-icon {
  font-size: 20px;
}

.option-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-100);
}

body.dark-mode .option-card-title {
  color: var(--ibm-gray-10);
}

.info-badge {
  background: var(--ibm-blue);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-left: auto;
}

.option-card-description {
  font-size: 14px;
  color: var(--ibm-gray-60);
  line-height: 1.5;
}

/* Transcript Features (Checkboxes) */
.transcript-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-checkbox {
  background: var(--ibm-gray-10);
  border: 1px solid var(--ibm-gray-20);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

body.dark-mode .feature-checkbox {
  background: var(--ibm-gray-90);
  border-color: var(--ibm-gray-80);
}

.feature-checkbox:hover {
  border-color: var(--ibm-blue);
}

.feature-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--ibm-blue);
}

.feature-checkbox input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ibm-gray-100);
  margin-bottom: 4px;
}

body.dark-mode .feature-title {
  color: var(--ibm-gray-10);
}

.feature-description {
  font-size: 14px;
  color: var(--ibm-gray-60);
}

/* Transcription Progress Section */
.transcription-progress-section {
  background: rgba(15, 98, 254, 0.05);
  border: 1px solid rgba(15, 98, 254, 0.2);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

body.dark-mode .transcription-progress-section {
  background: rgba(15, 98, 254, 0.1);
}

.progress-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ibm-gray-100);
}

body.dark-mode .progress-section-title {
  color: var(--ibm-gray-10);
}

.progress-section-percent {
  font-size: 18px;
  font-weight: 700;
  color: var(--ibm-blue);
}

.progress-section-bar {
  height: 8px;
  background: var(--ibm-gray-20);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

body.dark-mode .progress-section-bar {
  background: var(--ibm-gray-80);
}

.progress-section-fill {
  height: 100%;
  background: var(--ibm-blue);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-section-message {
  font-size: 14px;
  color: var(--ibm-gray-70);
}

body.dark-mode .progress-section-message {
  color: var(--ibm-gray-40);
}

/* Transcribe Action Buttons */
.transcribe-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn-primary-large,
.btn-secondary-large {
  flex: 1;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'IBM Plex Sans', sans-serif;
}

.btn-primary-large {
  background: var(--ibm-blue);
  color: white;
}

.btn-primary-large:hover:not(:disabled) {
  background: var(--ibm-blue-hover);
}

.btn-primary-large:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary-large {
  background: var(--ibm-gray-80);
  color: var(--ibm-gray-10);
}

body:not(.dark-mode) .btn-secondary-large {
  background: var(--ibm-gray-20);
  color: var(--ibm-gray-100);
}

.btn-secondary-large:hover {
  background: var(--ibm-gray-70);
}

body:not(.dark-mode) .btn-secondary-large:hover {
  background: var(--ibm-gray-30);
}

/* Responsive Design for Transcribe Tab */
@media (max-width: 768px) {
  .transcript-options-grid {
    grid-template-columns: 1fr;
  }
  
  .transcribe-actions {
    flex-direction: column;
  }
  
  .transcribe-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .transcript-ready-badge {
    align-self: flex-start;
  }
}


/* ===================================
   Summarize Tab Styles
   =================================== */

/* Summarize Header with Badge */
.summarize-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.summarize-header .transcript-ready-badge {
  background: rgba(36, 161, 72, 0.1);
  color: var(--ibm-green);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

body:not(.dark-mode) .summarize-header .transcript-ready-badge {
  background: rgba(36, 161, 72, 0.15);
}

/* ============================================
   AUTHENTICATION PAGE STYLES
   ============================================ */

.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-height: 600px;
}

/* Left side - Branding */
.auth-branding {
  background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%);
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-branding-content {
  max-width: 500px;
}

.auth-logo {
  margin-bottom: 24px;
}

.auth-logo .logo-text {
  font-size: 48px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  display: flex;
  align-items: flex-start;
}

.auth-logo .logo-recap {
  position: relative;
  display: inline-block;
}

.auth-logo .logo-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: white;
  border-radius: 2px;
}

.auth-tagline {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 48px;
  opacity: 0.95;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.auth-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.auth-feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.auth-feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: white;
}

.auth-feature p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

/* Right side - Forms */
.auth-forms {
  background: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-form h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--ibm-gray-100);
}

.auth-subtitle {
  font-size: 14px;
  color: var(--ibm-gray-70);
  margin: 0 0 32px 0;
}

.auth-form form {
  margin-bottom: 24px;
  text-align: center;
}

.auth-form form .form-group {
  text-align: left;
}

.auth-form form .forgot-password-link {
  text-align: left;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ibm-gray-100);
  margin-bottom: 8px;
}

.auth-form input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--ibm-gray-30);
  border-radius: 4px;
  transition: all 0.2s;
  font-family: 'IBM Plex Sans', sans-serif;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--ibm-blue-60);
  box-shadow: 0 0 0 2px rgba(15, 98, 254, 0.1);
}

.auth-form input:disabled {
  background: var(--ibm-gray-10);
  cursor: not-allowed;
}

.auth-form small {
  display: block;
  font-size: 12px;
  color: var(--ibm-gray-70);
  margin-top: 4px;
}

.forgot-password-link {
  margin-top: 8px;
  margin-bottom: 16px;
  text-align: left;
}

.auth-form .link-button {
  background: none;
  border: none;
  color: var(--ibm-blue-60);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-form .link-button:hover {
  color: var(--ibm-blue-70);
  text-decoration: underline;
}

.auth-form .link-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider span {
  position: relative;
  background: white;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ibm-gray-70);
}

.btn-centered {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: auto !important;
  min-width: 200px !important;
}

.auth-success-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 24px;
}

.auth-notice {
  background: var(--ibm-blue-10);
  border-left: 4px solid var(--ibm-blue-60);
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.auth-notice p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px 0;
  color: var(--ibm-gray-100);
}

.auth-notice p:last-child {
  margin-bottom: 0;
}

.auth-footer {
  text-align: center;
  padding-top: 24px;
}

.auth-footer p {
  font-size: 12px;
  color: var(--ibm-gray-70);
  margin: 0;
}

/* Alert styles for auth page */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.alert-error {
  background: #fff1f1;
  border-left: 4px solid #da1e28;
  color: #750e13;
}

.alert-success {
  background: #defbe6;
  border-left: 4px solid #24a148;
  color: #0e6027;
}

/* Responsive design */
@media (max-width: 968px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  
  .auth-branding {
    display: none;
  }
  
  .auth-forms {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .auth-page {
    padding: 0;
  }
  
  .auth-container {
    border-radius: 0;
    min-height: 100vh;
  }
  
  .auth-forms {
    padding: 32px 20px;
  }
  
  .auth-form h2 {
    font-size: 24px;
  }
}

/* Dark mode support for auth page */
body.dark-mode .auth-container {
  background: var(--ibm-gray-90);
}

body.dark-mode .auth-forms {
  background: var(--ibm-gray-90);
}

body.dark-mode .auth-form h2 {
  color: var(--ibm-gray-10);
}

body.dark-mode .auth-subtitle {
  color: var(--ibm-gray-50);
}

body.dark-mode .auth-form label {
  color: var(--ibm-gray-10);
}

body.dark-mode .auth-form input {
  background: var(--ibm-gray-80);
  border-color: var(--ibm-gray-70);
  color: var(--ibm-gray-10);
}

body.dark-mode .auth-form input:focus {
  border-color: var(--ibm-blue-50);
}

body.dark-mode .auth-divider::before {
  background: var(--ibm-gray-70);
}

body.dark-mode .auth-divider span {
  background: var(--ibm-gray-90);
  color: var(--ibm-gray-50);
}

body.dark-mode .auth-notice {
  background: var(--ibm-gray-80);
  border-left-color: var(--ibm-blue-50);
}

body.dark-mode .auth-notice p {
  color: var(--ibm-gray-10);
}

body.dark-mode .auth-footer {
}

body.dark-mode .auth-footer p {
  color: var(--ibm-gray-50);
}
