/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #2c3e50;
  color: white;
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-badge {
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
}

.logout-btn {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Layout - Admin Sidebar */
.layout {
  display: flex;
  min-height: calc(100vh - 72px);
}

.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #e0e0e0;
  padding: 20px 0;
  box-shadow: 2px 0 8px rgba(0,0,0,0.05);
}

.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: #666;
  font-size: 0.95rem;
  text-decoration: none;
}

.sidebar .nav-item:hover {
  background: #f8f9fa;
  color: #333;
}

.sidebar .nav-item.active {
  background: #e8f4fd;
  color: #3498db;
  border-left: 3px solid #3498db;
  font-weight: 500;
}

.main-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.page-title {
  font-size: 1.75rem;
  color: #2c3e50;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Buttons */
.btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn:hover {
  background: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #3498db;
}

.btn-primary:hover {
  background: #2980b9;
}

.btn-secondary {
  background: #95a5a6;
}

.btn-secondary:hover {
  background: #7f8c8d;
}

.btn-success {
  background: #27ae60;
}

.btn-success:hover {
  background: #229954;
}

.btn-danger {
  background: #e74c3c;
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h2 {
  color: #2c3e50;
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.card h3 {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

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

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #3498db;
}

.stat-card.warning {
  border-left-color: #f39c12;
}

.stat-card.success {
  border-left-color: #27ae60;
}

.stat-card.danger {
  border-left-color: #e74c3c;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.stat-label {
  color: #666;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-period {
  color: #999;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Monthly Report Tables */
.monthly-report-table {
  border: 1px solid #dee2e6;
}

.monthly-report-table th {
  background: #4a90a4;
  color: white;
  text-transform: none;
  font-size: 0.85rem;
  border: 1px solid #3d7a8c;
}

.monthly-report-table td {
  border: 1px solid #dee2e6;
  text-align: center;
  vertical-align: middle;
}

.monthly-report-table td:first-child {
  text-align: left;
  background: #f8f9fa;
}

.monthly-report-table .percentage {
  color: #666;
  font-size: 0.85rem;
}

.monthly-report-table .na-cell {
  background: #e9ecef;
  color: #999;
}

.monthly-report-table small.text-muted {
  display: block;
  font-weight: normal;
  margin-top: 4px;
}

/* Monthly Report - Student Comments & Interactions */
.student-comment-card,
.interaction-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #4a90a4;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
}

.comment-text,
.interaction-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.comment-meta,
.interaction-meta {
  font-size: 0.85rem;
  color: #666;
}

.comment-meta .separator,
.interaction-meta .separator {
  margin: 0 8px;
}

.comment-meta .employee-name,
.interaction-meta .employee-name {
  font-weight: 500;
}

.stat-change {
  font-size: 0.875rem;
  margin-top: 8px;
  color: #27ae60;
}

.stat-change.negative {
  color: #e74c3c;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-top: 20px;
}

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

th {
  background: #f8f9fa;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #555;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e0e0;
}

td {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

tr:hover {
  background: #f8f9fa;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background: #e8f4fd;
  color: #3498db;
}

.badge-success {
  background: #d4edda;
  color: #27ae60;
}

.badge-warning {
  background: #fff3cd;
  color: #f39c12;
}

.badge-danger {
  background: #f8d7da;
  color: #e74c3c;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 0.875rem;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

/* Checkbox & Radio */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

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

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

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

.radio-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-item:hover {
  background: #e9ecef;
}

.radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
}

.radio-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Filter Bar */
.filter-bar {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.tab {
  padding: 12px 20px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab:hover {
  color: #333;
  background: #f8f9fa;
}

.tab.active {
  color: #3498db;
  border-bottom-color: #3498db;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Flash Messages */
.flash {
  padding: 12px 20px;
  border-radius: 8px;
  margin: 20px;
  font-weight: 500;
}

.flash.error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.flash.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Login & Register */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 100%;
}

.login-card h1 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card h1 img {
  height: 35px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1094%) hue-rotate(162deg) brightness(94%) contrast(92%);
}

.login-card h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.login-card .welcome {
  margin: 20px 0 30px 0;
  font-size: 1.2rem;
  color: #666;
  text-align: center;
}

.login-form,
.register-form {
  margin-bottom: 20px;
}

.login-form .btn-primary,
.register-form .btn-primary {
  width: 100%;
  padding: 14px 24px;
  min-height: 48px;
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  position: relative;
  background: white;
  padding: 0 15px;
  color: #999;
  font-size: 0.875rem;
}

/* Google Button */
.btn-google {
  background: white;
  color: #444;
  border: 2px solid #e0e0e0;
  width: 100%;
  padding: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-google:hover {
  background: #f8f8f8;
  border-color: #d0d0d0;
  transform: none;
  box-shadow: none;
}

/* Register Link */
.register-link {
  margin-top: 20px;
  text-align: center;
}

.register-link p {
  color: #666;
  font-size: 0.9rem;
}

.register-link a {
  color: #3498db;
  text-decoration: none;
  margin-left: 5px;
  font-weight: 500;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Quick Actions - Employee */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.quick-action-btn {
  flex: 1;
  padding: 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #333;
}

.quick-action-btn:active {
  transform: scale(0.98);
}

.quick-action-btn.primary {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.quick-action-btn.secondary {
  background: #27ae60;
  color: white;
  border-color: #27ae60;
}

.quick-action-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Meeting Items */
.meeting-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.meeting-item:active {
  background: #f8f9fa;
}

.meeting-item:last-child {
  border-bottom: none;
}

.meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.meeting-student {
  font-weight: 600;
  color: #2c3e50;
}

.meeting-date {
  font-size: 0.875rem;
  color: #666;
}

.meeting-type {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
}

.type-conflict {
  background: #fee;
  color: #c33;
}

.type-relational {
  background: #e8f4fd;
  color: #0066cc;
}

.type-esteem {
  background: #f0f9e8;
  color: #4a7c2e;
}

.meeting-topic {
  font-size: 0.875rem;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

/* Bottom Navigation - Employee Mobile */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  color: #666;
  min-height: 56px;
  text-decoration: none;
}

.bottom-nav .nav-item.active {
  color: #3498db;
  border-top: 3px solid #3498db;
  padding-top: 5px;
}

.bottom-nav .nav-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.bottom-nav .nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Action Buttons in Tables */
.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 4px 8px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.action-btn:hover {
  color: #3498db;
  transform: scale(1.2);
}

.action-btn.delete:hover {
  color: #e74c3c;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  animation: fadeIn 0.2s;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s;
}

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

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chart Bars */
.chart-container {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}

.chart-bar {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.chart-label {
  width: 150px;
  font-size: 0.875rem;
  color: #555;
}

.chart-progress {
  flex: 1;
  height: 30px;
  background: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 12px;
}

.chart-fill {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 15px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
}

.chart-value {
  min-width: 60px;
  text-align: right;
  font-weight: 500;
  color: #2c3e50;
}

/* Activity Items */
.activity-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.activity-icon.meeting {
  background: #e8f4fd;
  color: #3498db;
}

.activity-icon.user {
  background: #d4edda;
  color: #27ae60;
}

.activity-icon.report {
  background: #fff3cd;
  color: #f39c12;
}

.activity-details {
  flex: 1;
}

.activity-title {
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.activity-meta {
  font-size: 0.875rem;
  color: #666;
}

.activity-time {
  font-size: 0.875rem;
  color: #999;
  white-space: nowrap;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #999;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* Alert */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Student Info Card */
.student-info-card {
  background: #f0f8ff;
  border: 2px solid #3498db;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.student-info-card h4 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 1rem;
}

.student-info-card .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.student-info-card .info-item {
  display: flex;
  flex-direction: column;
}

.student-info-card .info-label {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.student-info-card .info-value {
  font-weight: 500;
  color: #333;
}

/* Detail Row */
.detail-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-label {
  font-weight: 500;
  color: #666;
  width: 120px;
  font-size: 0.875rem;
}

.detail-value {
  flex: 1;
  color: #333;
}

/* Form Buttons */
.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: -280px;
    height: 100vh;
    z-index: 150;
    transition: left 0.3s;
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-content {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .tabs {
    overflow-x: auto;
  }

  .quick-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 12px;
  }

  .container {
    padding: 0 12px;
  }

  .card {
    padding: 16px;
  }

  .login-card {
    padding: 24px 16px;
  }
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Employee specific - add padding for bottom nav */
body.employee-view {
  padding-bottom: 80px;
}

/* Section visibility */
.section {
  display: none;
  animation: fadeIn 0.3s;
}

.section.active {
  display: block;
}

/* Autocomplete */
.autocomplete {
  position: relative;
}

.autocomplete-items {
  position: absolute;
  border: 2px solid #e0e0e0;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-items div {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-items div:last-child {
  border-bottom: none;
}

.autocomplete-items div:hover,
.autocomplete-active {
  background-color: #e3f2fd;
  color: #1976d2;
}

/* ===== Employee Portal Mobile Styles ===== */

/* Employee container - narrower for mobile-first design */
.employee-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Bottom Navigation - Employee Portal */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  color: #666;
  min-height: 56px;
  text-decoration: none;
}

.bottom-nav .nav-item.active {
  color: #3498db;
  border-top: 3px solid #3498db;
  padding-top: 5px;
}

.bottom-nav .nav-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.bottom-nav .nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Quick Action Buttons - Employee Dashboard */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.quick-action-btn {
  flex: 1;
  padding: 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #333;
}

.quick-action-btn:active {
  transform: scale(0.98);
}

.quick-action-btn.primary {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.quick-action-btn.secondary {
  background: #27ae60;
  color: white;
  border-color: #27ae60;
}

.quick-action-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Meeting Item Styles - Employee History/Dashboard */
.meeting-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.meeting-item:active {
  background: #f8f9fa;
}

.meeting-item:last-child {
  border-bottom: none;
}

.meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.meeting-student {
  font-weight: 600;
  color: #2c3e50;
}

.meeting-date {
  font-size: 0.875rem;
  color: #666;
}

.meeting-type {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
}

.type-conflict {
  background: #fee;
  color: #c33;
}

.type-relational {
  background: #e8f4fd;
  color: #0066cc;
}

.type-esteem {
  background: #f0f9e8;
  color: #4a7c2e;
}

.meeting-topic {
  font-size: 0.875rem;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

/* Empty State - Employee Portal */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* Logout Button - Employee Header */
.logout-btn {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
}

.logout-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Employee page body padding for bottom nav */
body.employee-page {
  padding-bottom: 80px;
}

/* Card specific for employee - smaller padding on mobile */
.employee-container .card {
  padding: 20px;
}

@media (max-width: 480px) {
  .employee-container .card {
    padding: 16px;
  }
}

/* Label styles for employee forms */
.employee-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 0.875rem;
}

/* Student Info Card - Read-only demographics display */
.student-info-card {
  background: #f0f8ff;
  border: 2px solid #3498db;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.student-info-card h4 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.student-info-card .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.student-info-card .info-item {
  display: flex;
  flex-direction: column;
}

.student-info-card .info-label {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.student-info-card .info-value {
  font-weight: 500;
  color: #333;
}

/* Checkbox Group - Employee forms */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
}

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

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Radio Group - Employee forms */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-item:hover {
  background: #e9ecef;
}

.radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
}

.radio-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Employee Header - Simpler mobile header */
.employee-header {
  background: #2c3e50;
  color: white;
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.employee-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  max-width: 600px;
  margin: 0 auto;
}

.employee-header .logo img {
  height: 35px;
  width: auto;
}

/* Alert Styles for Employee Forms */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Employee Form Inputs - Larger touch targets */
.employee-container input,
.employee-container select,
.employee-container textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  background: white;
}

.employee-container input:focus,
.employee-container select:focus,
.employee-container textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.employee-container textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

/* Employee Form Buttons - Full width on mobile */
.employee-container .form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.employee-container .form-buttons .btn {
  flex: 1;
  min-height: 48px;
}

/* History Tab Buttons */
.history-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.history-tabs .btn {
  flex: 1;
  min-width: 120px;
}

/* Mobile responsive adjustments for employee */
@media (max-width: 600px) {
  .employee-container {
    padding: 0 12px;
  }

  .employee-header .header-content {
    padding: 0 12px;
  }

  .quick-actions {
    flex-direction: row;
  }

  .history-tabs {
    flex-direction: column;
  }

  .history-tabs .btn {
    width: 100%;
  }
}
