/* RESET Y VARIABLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #ffffff;
  --text-main: #111111;
  --text-muted: #666666;
  --accent: #2563EB;
  --border-color: #e0e0e0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #111111;
  color: var(--text-main);
}

/* ESTRUCTURA GENERAL FULLSCREEN */
.tp-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

/* CABECERA DE LA APP */
.tp-header {
  height: 60px;
  background-color: #ffffff;
  border-bottom: 2px solid var(--text-main);
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  flex-shrink: 0;
}

.tp-header-left,
.tp-header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.tp-header-right {
  justify-content: flex-end;
}

.tp-header-title {
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
}

.back-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

.figma-external-btn {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: 1.5px solid var(--text-main);
  box-shadow: 2px 2px 0px var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.figma-external-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px var(--text-main);
}

/* CONTENEDOR DEL EMBED */
.tp-content {
  flex: 1;
  width: 100%;
  height: calc(100vh - 60px);
  background: #1e1e1e;
}

.figma-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .tp-header {
    padding: 0 12px;
  }
  
  .tp-header-title {
    display: none;
  }
}