/* General Reset & Variables */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-color: #3b82f6;      /* Blue */
  --accent-success: #10b981;    /* Emerald green */
  --accent-warning: #f59e0b;    /* Amber */
  --accent-danger: #ef4444;     /* Red */
  --glow-color: rgba(59, 130, 246, 0.4);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
  min-height: 100vh;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography & Layout */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-success));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px var(--glow-color);
}

.brand-section h1 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.header-badge {
  background: var(--bg-tertiary);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-badge span.value {
  color: var(--accent-warning);
}

/* Two Column Layout for top panel */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

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

/* Modern Card Widget */
.card-widget {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  color: var(--text-main);
}

.card-title i {
  color: var(--accent-color);
}

/* Dice Station Design */
.dice-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--border-radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  min-height: 280px;
  position: relative;
}

.dice-container {
  display: flex;
  gap: 40px;
  perspective: 600px;
  margin-bottom: 30px;
}

/* 3D Dice styling */
.dice-cube {
  position: relative;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
}

.dice-cube.rolling {
  animation: spinDice 2.5s infinite linear;
}

.dice-face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #f8fafc 40%, #cbd5e1 100%);
  border: 3px solid #64748b;
  border-radius: 12px;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  padding: 8px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dice-dot {
  width: 12px;
  height: 12px;
  background-color: #0f172a;
  border-radius: 50%;
  align-self: center;
  justify-self: center;
}

/* Dice Dot Placements on Faces */
.face-1 { transform: rotateY(0deg) translateZ(40px); }
.face-1 .dice-dot { grid-area: 2 / 2; background-color: var(--accent-danger); width: 16px; height: 16px; } /* Red center for 1 */

.face-2 { transform: rotateY(90deg) translateZ(40px); }
.face-2 .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.face-2 .dice-dot:nth-child(2) { grid-area: 3 / 3; }

.face-3 { transform: rotateY(180deg) translateZ(40px); }
.face-3 .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.face-3 .dice-dot:nth-child(2) { grid-area: 2 / 2; }
.face-3 .dice-dot:nth-child(3) { grid-area: 3 / 3; }

.face-4 { transform: rotateY(-90deg) translateZ(40px); }
.face-4 .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.face-4 .dice-dot:nth-child(2) { grid-area: 1 / 3; }
.face-4 .dice-dot:nth-child(3) { grid-area: 3 / 1; }
.face-4 .dice-dot:nth-child(4) { grid-area: 3 / 3; }

.face-5 { transform: rotateX(90deg) translateZ(40px); }
.face-5 .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.face-5 .dice-dot:nth-child(2) { grid-area: 1 / 3; }
.face-5 .dice-dot:nth-child(3) { grid-area: 2 / 2; }
.face-5 .dice-dot:nth-child(4) { grid-area: 3 / 1; }
.face-5 .dice-dot:nth-child(5) { grid-area: 3 / 3; }

.face-6 { transform: rotateX(-90deg) translateZ(40px); }
.face-6 .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.face-6 .dice-dot:nth-child(2) { grid-area: 1 / 3; }
.face-6 .dice-dot:nth-child(3) { grid-area: 2 / 1; }
.face-6 .dice-dot:nth-child(4) { grid-area: 2 / 3; }
.face-6 .dice-dot:nth-child(5) { grid-area: 3 / 1; }
.face-6 .dice-dot:nth-child(6) { grid-area: 3 / 3; }

/* 3D Dice rotation targets */
.show-1 { transform: rotateX(0deg) rotateY(0deg); }
.show-2 { transform: rotateX(0deg) rotateY(-90deg); }
.show-3 { transform: rotateX(0deg) rotateY(-180deg); }
.show-4 { transform: rotateX(0deg) rotateY(90deg); }
.show-5 { transform: rotateX(-90deg) rotateY(0deg); }
.show-6 { transform: rotateX(90deg) rotateY(0deg); }

@keyframes spinDice {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* Roll Sum Highlight */
.dice-sum-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-tertiary);
  padding: 10px 24px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
  font-weight: 700;
}

.dice-sum-display.visible {
  opacity: 1;
  transform: translateY(0);
}

.sum-number {
  color: var(--accent-warning);
  font-size: 24px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  outline: none;
}

.btn:hover {
  background-color: var(--text-muted);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-success), #059669);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--accent-danger), #dc2626);
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
}

/* Session Info Pane */
.session-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.qr-code-box {
  background: white;
  padding: 10px;
  border-radius: var(--border-radius-md);
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-code-box img {
  max-width: 100%;
  max-height: 100%;
}

.connection-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.connection-details h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.connection-details p {
  font-size: 14px;
  color: var(--text-muted);
}

.join-link-box {
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: var(--border-radius-md);
  font-family: monospace;
  font-size: 14px;
  color: var(--accent-color);
  word-break: break-all;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tabs and Tables Component */
.bottom-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tabs-navigation {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--accent-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 10px var(--accent-color);
}

.tab-content {
  display: none;
}

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

/* Spreadsheet styling */
.spreadsheet-container {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.spreadsheet {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-secondary);
}

.spreadsheet th, .spreadsheet td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spreadsheet th {
  background-color: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.spreadsheet tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.spreadsheet td.numeric {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.spreadsheet .round-col-header {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.spreadsheet td.round-cell {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.round-sub-cells {
  display: flex;
  justify-content: space-around;
  font-size: 12px;
}

.round-sub-val {
  flex: 1;
  text-align: center;
  padding: 4px;
}

.round-sub-val:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.profit-positive {
  color: var(--accent-success);
  font-weight: 600;
}

.profit-negative {
  color: var(--accent-danger);
  font-weight: 600;
}

/* Edit Cell UI Inputs */
.edit-input {
  width: 50px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: var(--border-radius-md);
  padding: 2px 4px;
  text-align: center;
  font-size: 12px;
  outline: none;
}

.edit-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px var(--glow-color);
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-draft {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-submitted {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-waiting {
  background-color: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Leaderboard Chart Visualization */
.leaderboard-chart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px;
}

.leaderboard-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  align-items: center;
  gap: 16px;
  animation: slideInBar 0.5s ease-out forwards;
}

@keyframes slideInBar {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.bar-team-name {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-wrapper {
  background: var(--bg-tertiary);
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-fill {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-success));
  height: 100%;
  width: 0%; /* Dynamic */
  border-radius: 12px;
  transition: width 1s cubic-bezier(0.1, 0.76, 0.55, 0.94);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.bar-fill.negative {
  background: linear-gradient(90deg, var(--accent-danger), #b91c1c);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.bar-value {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}

/* Settings Form Controls */
.settings-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--border-radius-md);
  font-size: 15px;
  outline: none;
  transition: var(--transition-normal);
}

.form-group input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px var(--glow-color);
}

/* Submissions Monitoring Panel */
.submissions-tracker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.submission-team-card {
  background: var(--bg-secondary);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.team-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.team-indicator.active {
  background-color: var(--accent-success);
  box-shadow: 0 0 8px var(--accent-success);
}

/* Modal Dialogs */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
  transform: scale(1);
}

.modal-header {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

/* ========================================== */
/* STUDENT PAGE SPECIFIC STYLES               */
/* ========================================== */

.student-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  justify-content: center;
}

.student-header {
  text-align: center;
  margin-bottom: 10px;
}

.student-header h1 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.student-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.student-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.student-input-group label {
  font-weight: 600;
  font-size: 15px;
}

.student-input {
  background-color: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  font-size: 18px;
  font-weight: 700;
  outline: none;
  text-align: center;
  transition: var(--transition-normal);
}

.student-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.status-indicator-box {
  background: rgba(15, 23, 42, 0.4);
  padding: 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pulse-glow {
  width: 12px;
  height: 12px;
  background-color: var(--accent-warning);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 rgba(245, 158, 11, 0); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px rgba(245, 158, 11, 0.8); }
}

.pulse-glow.success {
  background-color: var(--accent-success);
  animation-name: pulse-success;
}

@keyframes pulse-success {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px rgba(16, 185, 129, 0.8); }
}

/* History block on student screen */
.student-history-widget {
  margin-top: 10px;
}

.student-history-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 4px;
}

.student-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background-color: rgba(30, 41, 59, 0.4);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.student-history-table th, .student-history-table td {
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.student-history-table th {
  background-color: rgba(15, 23, 42, 0.6);
  color: var(--text-muted);
  font-weight: 600;
}

/* Confetti overlay for completion */
.completion-banner {
  text-align: center;
  padding: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.completion-banner h2 {
  color: var(--accent-success);
  font-size: 24px;
}

/* Branding & Intellectual Property (IP) Markings */
.top-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sztu-logo-container {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 44px;
}

.sztu-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.professor-branding {
  display: flex;
  align-items: center;
}

.professor-name-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Student Branding Bar (Mobile Responsive) */
.student-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.sztu-logo-container-mini {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  height: 28px;
}

.sztu-logo-mini {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.professor-branding-mini {
  display: flex;
  align-items: center;
}

.professor-name-text-mini {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

/* Footer Styling */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copyright {
  font-weight: 500;
}

.footer-branding {
  letter-spacing: 0.5px;
}

.student-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0.8;
}
