/* SheetXL Studio Vanilla - Public Demo Styles */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2c5f8a 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  overflow: hidden;
}

ul {
  padding: inherit;
  text-align: left;
}

h1 {
  color: white;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

h1 a:hover {
  opacity: 0.9;
}

h1 img {
  height: 1em;
  vertical-align: -5px;
}

.info {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info p {
  margin: 0;
  color: white;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.9);
  color: #2c5f8a;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-codepen {
  background: rgba(44, 95, 138, 0.9);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-codepen:hover {
  background: rgba(44, 95, 138, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#sheetxl {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  height: 100%;
}

.error {
  color: #d32f2f;
  background: rgba(255, 235, 238, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid rgba(211, 47, 47, 0.2);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.1);
}

.full-height {
  height: 100%;
}

.content {
  margin-top: 1rem;
}

.footer {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0.75rem;
    gap: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .info p {
    font-size: 1rem;
  }

  /* .action-buttons {
    flex-direction: column;
    gap: 0.75rem;
  } */

  .btn {
    padding:  0.50rem 0.875rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0.50rem;
    gap: 0.75rem;
  }

  .info {
    padding: 0.75rem;
  }
}
