
/* Highlight selected item */
.selected {
  background-color: var(--primary-color);
  color: white;
}

.client-list {
  list-style: none;
  padding: 0;
}

.client-item {
  margin-bottom: 0.3rem;
}

.client-item a {
  display: block;
  padding: 0.5rem;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
}

.client-item a:hover {
  background-color: #e9ecef;
}

.client-item.active a {
  background-color: var(--ios-primary-dark);
  color: white;
}

.pr-list {
  list-style: none;
  padding: 0;
}

.pr-item {
  margin-bottom: 0.3rem;
}

.pr-item a {
  display: block;
  padding: 0.5rem;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
}

.pr-item a:hover {
  background-color: #e9ecef;
}

.pr-item.active a {
  background-color: var(--ios-primary-dark);
  color: white;
}

.right-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

/* Header */
.right-header {
  position: sticky;
  top: 0;
  z-index: 170;
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tabs */
.tabs {
  position: sticky;
  top: 64px; /* height of header */
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
}

/* Scrollable content */
.right-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.header-left {
  display: flex;
  align-items: center;
  min-width: 0;            /* prevents overflow */
}

.header-left h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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


/* Buttons */
.header-right .btn {
  margin-left: 8px;
}

/* .hidden {
  display: none;
} */

/* Tab Navigation */
/* .tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1rem;
  padding-left: 0;
} */

.tab {
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
  border-bottom: 2px solid transparent;
}

.tab.active {
  font-weight: bold;
  border-bottom: 2px solid #103d6d;
}

/* .view-tabs {
  display: flex;
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 12px 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-button.active {
  color: #0d3a6b;
  border-bottom-color: #0d3a6b;
  background-color: #f8f9fa;
}

.tab-button:hover:not(.active) {
  background-color: #e9ecef;
} */

/* View Content */
.view-content {
  position: relative;
}

/* .view-pane {
  display: none;
}

.view-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
} */

