@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700;1,800&display=swap');

:root {
  /* Colors */
  --bg: #0C0C0C;
  --bg-2: #111111;
  --card: #141414;
  --card-2: #171717;
  --elevated: #1A1A1A;
  --input: #1F1F1F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  
  --red: #D42C2C;
  --red-2: #B62525;
  --green: #1F9E55;
  --star: #FFC532;
  --pink: #EC4899;

  /* Semantic Color Aliases */
  --bg-dark: var(--bg);
  --bg-card: var(--card);
  --bg-input: var(--input);
  --border-color: var(--line);
  --border-focus: var(--red);
  --primary-color: var(--red);
  --primary-glow: rgba(212, 44, 44, 0.15);
  --success-color: var(--green);
  --error-color: var(--red);
  --warning-color: #f59e0b;
  --text-main: #FFFFFF;
  --text-muted: #9A9A9A;
  --text-muted-2: #B5B5B5;
  --text-dark: #000000;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  --blue-gradient: linear-gradient(135deg, #4A82FF 0%, #1F4FD9 100%);
  --green-gradient: linear-gradient(135deg, #2EBE73 0%, #178F49 100%);
  --purple-gradient: linear-gradient(135deg, #A78BFA 0%, #7C56F0 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Fira Code', 'Consolas', monospace;

  /* Corner Radius */
  --radius-chip: 12px;
  --radius-logo: 14px;
  --radius-card: 18px;
  --radius-panel: 22px;
  --radius-pill: 999px;
  --radius-input: 14px;
  --radius: var(--radius-card); /* Compatibility fallback */

  /* Motion & Animations */
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: all 300ms var(--ease-spring);
  --transition-slow: all 700ms var(--ease-spring);

  /* Elevation */
  --elevation-flat: 1px solid var(--line);
  --elevation-card-hover: 0 18px 48px -24px rgba(0, 0, 0, 0.7);
  --elevation-primary-glow: 0 10px 30px -10px rgba(212, 44, 44, 0.55);
}

body.light {
  /* Light Theme overrides mapping variables to light mode equivalents */
  --bg: #F5F5F5;
  --bg-2: #EBEBEB;
  --card: #FFFFFF;
  --card-2: #FAFAFA;
  --elevated: #F0F0F0;
  --input: #EFEFEF;
  --line: rgba(0, 0, 0, 0.06);
  --line-2: rgba(0, 0, 0, 0.12);
  
  --bg-dark: var(--bg);
  --bg-card: var(--card);
  --bg-input: var(--input);
  --border-color: var(--line);
  
  --text-main: #0C0C0C;
  --text-muted: #666666;
  --text-muted-2: #444444;
  --text-dark: #FFFFFF;
}

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

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(212, 44, 44, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(212, 44, 44, 0.01) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}

body.light {
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(212, 44, 44, 0.02) 0px, transparent 50%);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* Header */
header {
  padding: 16px 5%;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  height: 32px;
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 28px !important;
  width: auto;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-logout, .btn-admin-nav {
  background: var(--input);
  border: 1px solid var(--line);
  color: var(--text-muted) !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.btn-logout:hover, .btn-admin-nav:hover {
  background: var(--elevated);
  color: var(--text-main) !important;
  border-color: var(--line-2);
  transform: translateY(-2px);
}

header .icon-btn {
  background: none;
  border: none;
  color: #cccccc !important;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

header .icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

/* Main Container */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Views Setup */
.view {
  display: none;
  animation: fadeIn 500ms var(--ease-spring);
}

.view.active {
  display: block;
}

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

/* Forms & Cards */
.card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 480px;
  margin: 60px auto;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-card-hover);
  border-color: var(--line-2);
}

.card-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.card-logo img {
  height: 32px;
  width: auto;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Custom Country Code Phone Input Grid */
.phone-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

input, select {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  color: var(--text-main);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

/* Customized Dropdown Select Style */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiPjxwYXRoIGQ9Ik03IDEwbDUgNSA1LTV6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  background-size: 18px;
  padding-right: 36px;
}
body.light select {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiPjxwYXRoIGQ9Ik03IDEwbDUgNSA1LTV6Ii8+PC9zdmc+");
}

input:focus, select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: var(--elevation-primary-glow);
  background-color: var(--bg-2);
}

/* Checkbox Consent */
.consent-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  cursor: pointer;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}

.consent-container input {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--red);
}

.consent-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

/* Action Buttons */
.btn-primary {
  width: 100%;
  background: var(--red);
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--elevation-primary-glow);
  background: var(--red-2);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* OTP Code Box */
.otp-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 28px 0;
}

.otp-digit {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--input);
  border: 1px solid var(--line);
  box-shadow: none;
  transition: var(--transition);
  -moz-appearance: textfield; /* Firefox */
}

/* Chrome, Safari, Edge, Opera */
.otp-digit::-webkit-outer-spin-button,
.otp-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.otp-digit:focus {
  border-color: var(--red);
  box-shadow: var(--elevation-primary-glow);
  background: var(--bg-2);
}

.resend-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.resend-link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.resend-link:hover {
  color: var(--red-2);
  text-decoration: underline;
}

.resend-link:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: none;
}

/* Marketing Features List */
.marketing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 18px;
  transition: var(--transition);
}

body.light .marketing-features {
  background: rgba(0, 0, 0, 0.02);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.feature-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.feature-text {
  color: var(--text-main);
  opacity: 0.95;
  font-weight: 500;
}

/* Secure Badge for OTP */
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success-color);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.toast {
  background: rgba(20, 20, 27, 0.95);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: var(--text-main);
  padding: 16px 24px;
  margin-top: 10px;
  min-width: 280px;
  animation: slideIn 0.3s ease;
  backdrop-filter: blur(10px);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Playground / Compiler View Grid */
.playground-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 10px;
}

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

/* Lesson Sidebar */
.lesson-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.lesson-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lesson-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.lesson-item.active {
  background: rgba(255, 94, 58, 0.08);
  border-color: var(--primary-color);
}

.lesson-item-title {
  font-size: 14px;
  font-weight: 600;
}

.badge-complete {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Compiler Main Area */
.compiler-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lesson-details-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}

.lesson-details-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 8px;
}

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

/* Old compiler styles removed */

/* Admin Dashboard CSS */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-card-hover);
  border-color: var(--line-2);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 8px;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Table Controls */
.filter-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar input, .filter-bar select {
  width: auto;
  min-width: 180px;
  flex: 1;
}

.table-container {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 14px;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg-2);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

body.light th {
  background: var(--bg-2);
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr {
  transition: background-color 0.15s var(--ease-spring);
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

body.light tr:hover td {
  background: rgba(0, 0, 0, 0.01);
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.btn-small {
  background: var(--input);
  border: 1px solid var(--line);
  color: var(--text-main);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.btn-small:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--elevated);
  border-color: var(--line-2);
}

.btn-small:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

body.light .btn-small {
  background: var(--input);
  border-color: var(--line);
}

body.light .btn-small:hover:not(:disabled) {
  background: var(--elevated);
}

/* CRM Queue Table Badge */
.status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.status-badge.failed {
  background: rgba(212, 44, 44, 0.08);
  color: var(--red);
  border: 1px solid rgba(212, 44, 44, 0.15);
}

.status-badge.dead {
  background: rgba(212, 44, 44, 0.15);
  color: var(--red);
  border: 1px solid var(--red);
}

.status-badge.succeeded {
  background: rgba(31, 158, 85, 0.08);
  color: var(--green);
  border: 1px solid rgba(31, 158, 85, 0.15);
}

/* ============================================================
   CSS Custom Properties — Dark / Light Themes
   ============================================================ */
#playgroundView {
  --bg-app:      #1e1e1e;
  --bg-bar:      #333333;
  --bg-sidebar:  #252526;
  --bg-tabs:     #252526;
  --bg-tab:      #2d2d2d;
  --bg-tab-active: #1e1e1e;
  --bg-terminal: #1e1e1e;
  --border:      #1a1a1a;
  --border-drag: #414141;
  --text:        #cccccc;
  --text-dim:    #858585;
  --text-bright: #ffffff;
  --hover:       #2a2d2e;
  --active-item: #37373d;
  --accent:      #007acc;
}

body.light #playgroundView {
  /* Exact VS Code Light+ colors */
  --bg-app:        #ffffff;   /* editor.background */
  --bg-bar:        #dddddd;   /* titleBar.activeBackground */
  --bg-sidebar:    #f3f3f3;   /* sideBar.background */
  --bg-tabs:       #f3f3f3;   /* editorGroupHeader.tabsBackground */
  --bg-tab:        #ececec;   /* tab.inactiveBackground */
  --bg-tab-active: #ffffff;   /* tab.activeBackground */
  --bg-terminal:   #ffffff;   /* terminal.background */
  --border:        #e5e5e5;   /* sideBar.border / editor borders */
  --border-drag:   #c8c8c8;
  --text:          #3b3b3b;   /* editor foreground */
  --text-dim:      #6e7681;   /* tab.inactiveForeground */
  --text-bright:   #000000;
  --hover:         #e8e8e8;   /* list.hoverBackground */
  --active-item:   #d6ebff;   /* list.activeSelectionBackground */
  --accent:        #005fb8;   /* focusBorder / tab.activeBorderTop */
}

/* VS Code Light+ — Activity Bar stays dark (exact VSCode behaviour) */
body.light #playgroundView .activity-bar {
  background: #2c2c2c;        /* activityBar.background */
  border-right-color: #2c2c2c;
}
body.light #playgroundView .action-item       { color: #ffffff80; }
body.light #playgroundView .action-item:hover { color: #ffffff; }
body.light #playgroundView .action-item.active {
  color: #ffffff;
  border-left-color: #ffffff;
}

/* Active file in sidebar */
body.light #playgroundView .file-item.active {
  background: var(--accent);
  color: #ffffff;
}
body.light #playgroundView .file-item.active .delete-file-btn { color: #ffffff99; }

/* Tabs — VS Code Light+ top-border accent on active */
body.light #playgroundView .tab            { color: #6e7681; background: #ececec; }
body.light #playgroundView .tab.active     { color: #000000; background: #ffffff; border-top-color: #005fb8; }

/* Terminal — VS Code Light uses white terminal with dark text */
body.light #playgroundView .terminal-panel  { background: #ffffff; }
body.light #playgroundView .terminal-topbar {
  background: #f3f3f3;
  border-bottom: 1px solid #e5e5e5;
}
body.light #playgroundView .term-tab        { color: #6e7681; }
body.light #playgroundView .term-tab.active {
  color: #000000;
  border-bottom-color: #005fb8;
}
body.light #playgroundView .status-text     { color: #6e7681; }
body.light #playgroundView .clear-btn       { color: #6e7681; border-color: #c8c8c8; }
body.light #playgroundView .clear-btn:hover { color: #3b3b3b; border-color: #999; background: #e8e8e8; }
body.light #playgroundView .drag-handle     { background: #c8c8c8; }
body.light #playgroundView .drag-handle:hover,
body.light #playgroundView .drag-handle.dragging { background: #005fb8; }

/* Terminal output text for white terminal */
body.light #playgroundView .terminal-output          { color: #000000; }
body.light #playgroundView .terminal-output .out     { color: #000000; }
body.light #playgroundView .terminal-output .err,
body.light #playgroundView .terminal-output .errblock{ color: #cd3131; }  /* VS Code terminal red */
body.light #playgroundView .terminal-output .sys     { color: #6e7681; font-style: italic; }

/* Section header in sidebar */
body.light #playgroundView .section-header { color: #6f6f6f; }

/* ============================================================
   App Shell & View Override
   ============================================================ */
body.playground-active {
  overflow: hidden;
  height: 100vh;
}

#playgroundView.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 500;
  display: flex;
  flex-direction: column;
  background: var(--bg-app);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: var(--text);
}

.app-shell {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ============================================================
   Title Bar
   ============================================================ */
.titlebar {
  flex-shrink: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #333333; /* always dark */
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.25s;
}
.titlebar-left  { position: absolute; left: 15px; display: flex; align-items: center; }
.titlebar-right { position: absolute; right: 12px; display: flex; align-items: center; }
.titlebar-title { font-size: 13px; font-weight: 500; color: #cccccc; white-space: nowrap; }

.titlebar .icon-btn {
  color: #ffffff !important;
}
.titlebar .icon-btn:hover {
  background: #2a2d2e !important;
}

.desktop-logo { display: flex; align-items: center; }
.mobile-logo  { display: none; }

/* ============================================================
   Workspace
   ============================================================ */
.workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.mobile-only-btn {
  display: none !important;
}
.mobile-view-tabs {
  display: none;
}

/* ============================================================
   Activity Bar
   ============================================================ */
.activity-bar {
  flex-shrink: 0;
  width: 48px;
  background: var(--bg-bar);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  border-right: 1px solid var(--border);
}
.action-item {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-dim);
  transition: color 0.15s;
}
.action-item:hover { color: var(--text); }
.action-item.active { color: var(--text-bright); border-left: 2px solid var(--text-bright); }
.action-item svg { width: 22px; height: 22px; }

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar {
  flex-shrink: 0;
  width: 240px;
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-title {
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 3px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.section-label {
  display: flex; align-items: center; gap: 4px;
}
.file-list {
  flex: 1;
  overflow-y: auto;
  padding-top: 4px;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 24px;
  cursor: pointer;
  color: var(--text);
  user-select: none;
}
.file-item:hover    { background: var(--hover); }
.file-item.active   { background: var(--active-item); color: var(--text-bright); }
.delete-file-btn {
  margin-left: auto;
  display: none;
  background: none; border: none;
  color: var(--text-dim);
  cursor: pointer; padding: 0 4px;
  font-size: 12px;
  line-height: 1;
}
.file-item:hover .delete-file-btn { display: block; }
.delete-file-btn:hover { color: #f48771; }

/* ============================================================
   Main Content
   ============================================================ */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-app);
}

/* Tabs Bar */
.tabs-bar {
  flex-shrink: 0;
  height: 35px;
  display: flex;
  align-items: stretch;
  background: var(--bg-tabs);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tabs-list {
  flex: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
}
.tab {
  flex-shrink: 0;
  height: 100%;
  padding: 0 14px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-tab);
  cursor: pointer;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.tab.active {
  background: var(--bg-tab-active);
  color: var(--text-bright);
  border-top: 2px solid var(--accent);
}

/* Toolbar */
.toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}
.save-label {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.4s;
}
.save-label.visible { opacity: 1; }

/* Editor Wrap */
.editor-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
}
.editor-wrap .CodeMirror {
  flex: 1;
  height: 100% !important;
  font-family: 'Consolas', 'Courier New', monospace !important;
  font-size: 14px;
  line-height: 1.5;
}
.editor-wrap .CodeMirror-gutters {
  border-right: none !important;
}

/* Drag Handle */
.drag-handle {
  flex-shrink: 0;
  height: 5px;
  background: var(--border-drag);
  cursor: ns-resize;
  transition: background 0.15s;
}
.drag-handle:hover,
.drag-handle.dragging { background: var(--accent); }

/* Terminal Panel */
.terminal-panel {
  flex-shrink: 0;
  height: 28%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-terminal);
  border-top: 1px solid var(--border);
}
.terminal-topbar {
  flex-shrink: 0;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
.term-tab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-dim);
  padding: 0 4px 2px;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color 0.15s;
}
.term-tab:hover { color: var(--text); }
.term-tab.active { color: var(--text); border-bottom-color: var(--accent); }

.status-badge {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #555;
  transition: background 0.3s;
}
.status-dot.loading { background: #f59e0b; animation: blink 1.4s infinite; }
.status-dot.ready   { background: #10b981; }
.status-dot.running { background: var(--accent); animation: blink 0.9s infinite; }
.status-dot.error   { background: #f48771; }
.status-text { font-size: 11px; color: var(--text-dim); }

.clear-btn {
  margin-left: 12px;
  background: none;
  border: 1px solid var(--border-drag);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 3px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.clear-btn:hover {
  color: var(--text);
  border-color: var(--text-dim);
  background: var(--hover);
}

@keyframes blink {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}

.terminal-output {
  flex: 1;
  padding: 8px 16px;
  overflow-y: auto;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.terminal-output span      { white-space: pre-wrap; }
.terminal-output .out      { color: #d4d4d4; }
.terminal-output .err,
.terminal-output .errblock { color: #f48771; }
.terminal-output .sys      { color: #858585; font-style: italic; }

/* Inline terminal input */
.terminal-input-row {
  display: flex;
  align-items: center;
  min-height: 1.5em;
}
.terminal-input-row span {
  flex-shrink: 0;
}
.terminal-inline-input {
  background:   transparent;
  border:       none;
  outline:      none;
  color:        #d4d4d4;
  caret-color:  #ffffff;
  font-family:  'Consolas', 'Courier New', monospace;
  font-size:    13px;
  line-height:  1.5;
  flex:         1;
  min-width:    0;
  padding:      0;
  margin:       0;
}
.terminal-inline-input:focus { outline: none; }
body.light #playgroundView .terminal-inline-input { color: #1a1a1a; caret-color: #000; }

/* Shared Icon Button */
.icon-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
}
.icon-btn:hover    { background: var(--hover); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.icon-btn.hidden   { display: none !important; }

/* Action Buttons */
.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: opacity 0.15s, transform 0.1s;
}
.action-btn:active { transform: scale(.96); }
.action-btn:disabled { opacity: 0.4; cursor: default; }
.action-btn.hidden { display: none !important; }

.run-btn  { background: #1a7a3a; color: #c8f0d4; }
.run-btn:hover  { background: #1f8f44; }

.stop-btn { background: #7a2020; color: #f8c8c8; }
.stop-btn:hover { background: #963030; }

/* ============================================================
   Mobile Responsive Styles (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  #playgroundView .titlebar {
    height: 56px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 10px !important;
    position: relative !important;
  }
  #playgroundView .titlebar-left {
    position: absolute !important;
    left: 10px !important;
    top: 6px !important;
    display: flex !important;
    align-items: center !important;
    height: 24px !important;
  }
  #playgroundView .titlebar-right {
    position: absolute !important;
    right: 10px !important;
    top: 6px !important;
    display: flex !important;
    align-items: center !important;
    height: 24px !important;
  }
  #playgroundView .desktop-logo {
    display: none !important;
  }
  #playgroundView .mobile-logo {
    display: block !important;
    height: 20px !important;
    margin-bottom: 2px !important;
  }
  #playgroundView .titlebar-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  #playgroundView .titlebar-title {
    position: static !important;
    transform: none !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #858585 !important;
    max-width: 95% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  #playgroundView .mobile-only-btn {
    display: flex !important;
  }

  #playgroundView .mobile-view-tabs {
    display: flex;
    flex-shrink: 0;
    height: 40px;
    background: var(--bg-tabs);
    border-bottom: 1px solid var(--border);
  }

  #playgroundView .mobile-tab {
    flex: 1;
    height: 100%;
    border: none;
    background: var(--bg-tab);
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    gap: 6px;
  }
  #playgroundView .mobile-tab.active {
    background: var(--bg-tab-active);
    color: var(--text-bright);
    border-bottom-color: var(--accent);
  }

  #playgroundView .activity-bar {
    display: none !important;
  }

  #playgroundView .sidebar {
    position: absolute;
    left: -250px;
    top: 56px;
    bottom: 0;
    width: 240px;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
    transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #playgroundView .sidebar.mobile-open {
    left: 0;
  }

  #playgroundView .sidebar-overlay {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  #playgroundView .sidebar-overlay.active {
    display: block;
  }

  #playgroundView .drag-handle {
    display: none !important;
  }

  #playgroundView .tabs-list {
    display: none !important;
  }

  #playgroundView .tabs-bar {
    justify-content: flex-end;
    height: 40px;
  }

  #playgroundView .main-content.mobile-show-editor .editor-wrap {
    display: flex !important;
    flex: 1 !important;
  }
  #playgroundView .main-content.mobile-show-editor .terminal-panel {
    display: none !important;
  }

  #playgroundView .main-content.mobile-show-terminal .editor-wrap {
    display: none !important;
  }
  #playgroundView .main-content.mobile-show-terminal .terminal-panel {
    display: flex !important;
    flex: 1 !important;
    height: 100% !important;
  }
}

/* Sidebar toggle styles for desktop */
#sidebarToggleBtn {
  margin-right: 12px;
}
.sidebar.collapsed {
  display: none !important;
}

/* Responsive adjustments for mobile/tablet */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-bar input, .filter-bar select, .filter-bar button {
    width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  main {
    padding: 20px 16px;
  }
  .card {
    padding: 30px 20px;
    margin: 30px auto;
  }
  .card-title {
    font-size: 22px;
  }
  .phone-grid {
    grid-template-columns: 85px 1fr;
    gap: 8px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .stat-value {
    font-size: 28px;
  }
}

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

/* Custom styling overrides for intl-tel-input to align with Brototype Design System */
.iti {
  width: 100%;
}
.iti__country-list {
  background-color: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-input) !important;
  color: var(--text-main) !important;
  box-shadow: 0 18px 48px -24px rgba(0,0,0,0.8) !important;
  z-index: 1000 !important;
  padding: 8px 0 !important;
}
.iti__country {
  padding: 12px 18px !important;
  transition: background-color 0.15s var(--ease-spring) !important;
}
.iti__country:hover, .iti__country.iti__highlight {
  background-color: var(--bg-2) !important;
}
.iti__country-name {
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
}
.iti__dial-code {
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
}
.iti__selected-flag {
  background-color: transparent !important;
  border-radius: var(--radius-input) 0 0 var(--radius-input) !important;
  padding-left: 14px !important;
  transition: background-color 0.15s var(--ease-spring) !important;
}
.iti__selected-flag:hover {
  background-color: var(--bg-2) !important;
}
.iti__selected-dial-code {
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  margin-left: 6px !important;
}
.iti__search-input {
  background-color: var(--input) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-chip) !important;
  margin: 8px 12px !important;
  width: calc(100% - 24px) !important;
  padding: 10px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  outline: none !important;
}
.iti__search-input:focus {
  border-color: var(--red) !important;
  box-shadow: var(--elevation-primary-glow) !important;
}
/* Adjust layout on coarse pointers */
@media (pointer: coarse) {
  .iti__country {
    padding: 14px 18px !important;
  }
}

/* --------------------------------------------------------------------------
   DEVELOPER SIGNUP SPLIT LAYOUT STYLES
   -------------------------------------------------------------------------- */
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  min-height: 80vh;
  padding: 0 20px;
}

.auth-layout .card {
  margin: 0;
  max-width: 100%;
}

.auth-visual-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-header {
  margin-bottom: 28px;
}

.visual-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(212, 44, 44, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.visual-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}

.visual-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mock Editor Window */
.mock-editor {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--font-code);
  font-size: 14px;
  margin-bottom: 10px;
}

.editor-header {
  background: #1B1B1E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 12px 18px;
  gap: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots .dot.red { background: #FF5F56; }
.window-dots .dot.yellow { background: #FFBD2E; }
.window-dots .dot.green { background: #27C93F; }

.editor-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 6px;
}

.editor-tab.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.editor-content {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 20px 8px;
  min-height: 160px;
  background: #111112;
}

.line-numbers {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.2);
  text-align: right;
  padding-right: 14px;
  user-select: none;
  font-size: 13px;
  line-height: 1.6;
}

.code-lines {
  margin: 0;
  font-family: inherit;
  color: #E2E8F0;
  line-height: 1.6;
  white-space: pre-wrap;
}

.code-lines code {
  font-family: inherit;
}

.code-lines .keyword { color: #F43F5E; font-weight: 600; }
.code-lines .function { color: #38BDF8; }
.code-lines .string { color: #34D399; }
.code-lines .comment { color: #64748B; font-style: italic; }

.editor-terminal {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #09090b;
  padding: 14px 18px;
}

.terminal-header {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 700;
}

.terminal-content {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-code);
}

.terminal-success {
  color: var(--success-color);
}

.terminal-text {
  color: #cccccc;
}

/* Feature Grid Cards */
.marketing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.feature-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.03);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Light Theme Variables Adaptation */
body.light .mock-editor {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.light .editor-header {
  background: #E2E8F0;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light .editor-tab.active {
  background: rgba(0, 0, 0, 0.03);
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.06);
}

body.light .editor-content {
  background: #FFFFFF;
}

body.light .line-numbers {
  color: rgba(0, 0, 0, 0.25);
}

body.light .code-lines {
  color: #1E293B;
}

body.light .editor-terminal {
  background: #F1F5F9;
  border-top-color: rgba(0, 0, 0, 0.05);
}

body.light .terminal-header {
  color: rgba(0, 0, 0, 0.4);
}

body.light .terminal-text {
  color: #334155;
}

body.light .feature-card {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.04);
}

body.light .feature-card:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .feature-icon {
  background: rgba(0, 0, 0, 0.02);
}

/* Responsive design media query overrides */
@media (max-width: 1024px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 20px auto;
    min-height: auto;
  }
  
  .auth-visual-panel {
    display: none;
  }
  
  .auth-layout .card {
    max-width: 480px;
    margin: 40px auto;
  }
}

/* Card Window Header Styling for Mobile IDE Feel */
.card-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.card-window-title {
  font-size: 11px;
  font-family: var(--font-code);
  color: var(--text-muted);
  opacity: 0.8;
}

body.light .card-window-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Center auth cards on mobile (under 768px) and remove vertical page scroll */
@media (max-width: 768px) {
  body:not(.playground-active) {
    overflow: hidden !important;
  }
  
  body:not(.playground-active) main {
    padding: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  body:not(.playground-active) .auth-layout {
    margin: 0 !important;
    width: 100% !important;
    min-height: auto !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }

  body:not(.playground-active) .auth-form-panel {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:not(.playground-active) .card {
    margin: 0 !important;
    padding: 16px 20px 20px 20px !important;
    width: 100% !important;
    max-width: 400px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border-radius: var(--radius-card) !important;
  }

  body:not(.playground-active) .card-window-header {
    padding: 0 0 10px 0 !important;
    margin-bottom: 16px !important;
  }

  body:not(.playground-active) .card-logo {
    margin-bottom: 16px !important;
  }

  body:not(.playground-active) .card-title {
    font-size: 24px !important;
    margin-bottom: 6px !important;
  }

  body:not(.playground-active) .card-subtitle {
    margin-bottom: 16px !important;
  }

  body:not(.playground-active) .form-group {
    margin-bottom: 16px !important;
  }
}



