:root {
  --primary-blue: #0A4275;
  --clinical-blue: #1C75D5;
  --soft-green: #20C997;
  --success-green: #198754;
  --bg-color: #F4F7FA;
  --surface-white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-muted: #6C757D;
  --border-light: #E9ECEF;
  --danger-red: #DC3545;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius-md: 8px;
  --radius-lg: 12px;
}

.c-doc-app {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  display: flex;
  min-height: 80vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 20px 0;
  font-size: 14px;
}

.c-sidebar {
  width: 260px;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  flex-direction: column;
}

.c-sidebar-brand {
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.c-sidebar-brand i {
  color: var(--soft-green);
  font-size: 24px;
}

.c-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.c-nav-item {
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.c-nav-item:hover, .c-nav-item.active {
  opacity: 1;
  background-color: rgba(255,255,255,0.1);
  border-left: 4px solid var(--soft-green);
}

.c-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.c-header {
  height: 70px;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.c-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.c-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--clinical-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.c-view {
  display: none;
  animation: fadeIn 0.4s ease;
}

.c-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.c-title {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 700;
}

.c-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.c-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.c-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(28, 117, 213, 0.1);
  color: var(--clinical-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.c-stat-icon.green {
  background-color: rgba(32, 201, 151, 0.1);
  color: var(--soft-green);
}

.c-stat-info h4 {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.c-stat-info p {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.c-table-wrapper {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow-x: auto;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
}

.c-table th, .c-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.c-table th {
  background-color: #F8FAFC;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.c-badge {
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.c-badge-success { background: rgba(25, 135, 84, 0.1); color: var(--success-green); }
.c-badge-warning { background: rgba(255, 193, 7, 0.1); color: #D39E00; }
.c-badge-info { background: rgba(28, 117, 213, 0.1); color: var(--clinical-blue); }

.c-timeline {
  position: relative;
  margin-left: 20px;
  border-left: 2px solid var(--border-light);
  padding-left: 30px;
}

.c-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.c-timeline-dot {
  position: absolute;
  left: -37px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clinical-blue);
  border: 3px solid var(--surface-white);
}

.c-drag-drop {
  border: 2px dashed var(--clinical-blue);
  background-color: rgba(28, 117, 213, 0.02);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.c-drag-drop:hover {
  background-color: rgba(28, 117, 213, 0.05);
}

.c-drag-drop i {
  font-size: 48px;
  color: var(--clinical-blue);
  margin-bottom: 16px;
}

.c-btn {
  background-color: var(--clinical-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.c-btn:hover {
  background-color: var(--primary-blue);
}

.c-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.c-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-dark);
}

.c-mockup-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 16px;
  border: 1px solid var(--border-light);
}

.c-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.c-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
