body {
  background-color: #f5f6fa;
}

.login-container {
  max-width: 420px;
  margin: 80px auto;
}

.card {
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.navbar-brand {
  font-weight: 700;
}

.meeting-card {
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.meeting-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.status-badge-draft {
  background-color: #ffc107;
  color: #000;
}

.status-badge-finalized {
  background-color: #198754;
}

.storage-bar {
  height: 8px;
  border-radius: 4px;
}

.drop-zone {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: #0d6efd;
  background-color: #f0f6ff;
}

.minutes-section {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
}

.minutes-section h5 {
  color: #495057;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.action-item-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f1f1;
}

.recording-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: red;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.spinner-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.tag-input-container {
  min-height: 38px;
  height: auto;
  cursor: text;
  padding: 0.25rem 0.5rem;
}

.tag-input-container .badge {
  font-size: 0.85em;
  font-weight: 500;
  padding: 0.35em 0.6em;
}

.tag-input-container .tag-remove {
  cursor: pointer;
  font-size: 0.7em;
}

.tag-input-container .tag-remove:hover {
  opacity: 0.7;
}

.tag-text-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
  background: transparent;
  font-size: 0.95rem;
}

.tag-text-input::placeholder {
  color: #adb5bd;
}

@media (max-width: 576px) {
  .login-container { margin: 30px 15px; }
  .minutes-section { padding: 0.75rem; }
}

/* KCPortal sidebar layout */
.kc-layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 56px);
}
.kc-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e9ecef;
  padding: 1rem 0;
}
.kc-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  color: #495057;
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 0.95rem;
}
.kc-sidebar a:hover {
  background: #f8f9fa;
  color: #0d6efd;
}
.kc-sidebar a.active {
  background: #e7f1ff;
  border-left-color: #0d6efd;
  color: #0d6efd;
  font-weight: 500;
}
.kc-sidebar .kc-sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #adb5bd;
  padding: 0.75rem 1.25rem 0.35rem;
  letter-spacing: 0.03em;
}
.kc-content {
  flex: 1;
  padding: 1.5rem 2rem;
  min-width: 0;
}
.kc-stat-card {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kc-stat-card .kc-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}
.kc-stat-card .kc-stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}
.kc-stat-card .kc-stat-label {
  font-size: 0.85rem;
  color: #6c757d;
}
@media (max-width: 768px) {
  .kc-layout { flex-direction: column; }
  .kc-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 0.25rem 0;
    display: flex;
    overflow-x: auto;
  }
  .kc-sidebar a {
    flex: 1 0 auto;
    justify-content: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .kc-sidebar a.active {
    border-bottom-color: #0d6efd;
    border-left-color: transparent;
  }
  .kc-sidebar .kc-sidebar-heading { display: none; }
  .kc-content { padding: 1rem; }
}
