/**
 * meta.css
 * Layout System & Interactive UI Skin for the Fabric Medallion Studio Component
 */

/* 1. Module Layout Structure */
.studio-hero {
  padding: 2.5rem;
  background: #111114;
  color: #ffffff;
  border-bottom: 1px solid #222226;
  text-align: center;
}

.studio-hero h1 {
  color: #f1c40f;
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.studio-hero p {
  color: #9a9a9f;
  margin: 0;
  font-size: 1.1rem;
}

.studio-workspace {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. Interactive Control Matrix Row */
.studio-controls-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.studio-btn {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem;
  font-weight: bold;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.1s ease, color 0.18s ease;
}

/* Button Active State Styling */
.studio-btn.active-step {
  background: #f1c40f;
  color: #111114;
}

.studio-btn.active-step:hover {
  background: #f4d03f;
  transform: translateY(-1px);
}

.studio-btn.active-step:active {
  transform: translateY(0);
}

/* Button Disabled State Styling */
.studio-btn.disabled-step {
  background: #222226;
  color: #66666d;
  cursor: not-allowed;
}

/* 3. Architectural Diagram Map Grid */
.studio-diagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.studio-zone {
  background: #16161a;
  border: 1px solid #2d2d34;
  border-radius: 6px;
  padding: 1.25rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.studio-zone.highlighted {
  border-color: #f1c40f;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.15);
}

.studio-zone-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 4. Artifact Code Block Styling */
.studio-artifact {
  background: #0d0d11;
  border: 1px solid #222226;
  border-radius: 4px;
  padding: 1rem;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.studio-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: #72727a;
  border-bottom: 1px solid #1a1a22;
  padding-bottom: 0.5rem;
}

.studio-meta-header span:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 500;
}

.studio-state-badge {
  background: #222226;
  color: #a0a0a5;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

/* Badge Context States */
.studio-state-badge.active { background: rgba(0, 176, 255, 0.15); color: #00b0ff; }
.studio-state-badge.success { background: rgba(16, 124, 65, 0.15); color: #107c41; }
.studio-state-badge.warning { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }

.studio-artifact pre {
  margin: 0;
  white-space: pre-wrap;
}

.studio-artifact code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #72727a;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 5. Logging Terminal Console View Box */
.studio-console-box {
  background: #050508;
  border: 1px solid #222226;
  border-radius: 6px;
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
  height: 180px;
  overflow-y: auto;
  color: #a0a0a5;
  line-height: 1.6;
}

.studio-log-entry {
  margin-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 0.25rem;
}

.studio-log-time {
  color: #4a4a52;
  margin-right: 0.5rem;
}

.studio-log-accent {
  color: #f1c40f;
  font-weight: 600;
}
