/* General page styling */
.sdk-body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

.sdk-body p {
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

.sdk-body a {
  color: #007bff;
  text-decoration: none;
  font-size: 1.5rem;
}

.sdk-body h2 {
  font-size: 1.5rem;
}

.sdk-body h3 {
  margin-top: 0.5em;
  font-size: 1rem;
}


.sdk-title {
  font-size: 2rem;
}

.sdk-subtitle {
  font-size: 1.2rem;
  color: #444;
}

.sdk-header {
  display: flex;
  align-items: center;
  justify-content: left;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 1.5em;
}

/* Layout */
.sdk-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sdk-column {
  flex: 1;
  min-width: 280px;
}

/* Code examples */

/* Grid of SDK apps */
/* Row wrapper */
.sdk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2em;
  width: 100%;
}

/* Two-column layout in row 1 */
.sdk-code-column, .sdk-target-column {
  flex: 1;
  min-width: 300px; /* keeps responsive on small screens */
}

/* Grid for row 2 apps */
.sdk-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}


.sdk-app {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
    position: relative;

}

.sdk-app:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  transition: all 0.2s;
}

.sdk-app h2, .sdk-app h3 {
  margin-top: 0;
  font-size: 1rem;
  margin-bottom: 0.5em;
}

.sdk-app-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 8px;
}

.sdk-app p {
  margin: 0 0 0.5em 0;
  color: #555;
  font-size: 0.9rem;
}


.sdk-app img {
  cursor: pointer;
}

.sdk-app img:hover {
  opacity: 0.8;
  transform: scale(1.15);
}
.sdk-pre {
  background: #1e1e1e;
  color: #dcdcdc;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  margin: 0.5em 0 1em 0;
}

/* Target divs */
.sdk-target-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sdk-targetDiv {
  width: 100%;
  max-width: 600px;
  height: 500px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-direction: column;
}

/* Custom colors for demo */
.targetDiv1 {
  background-color: lightblue;
}

/* Code block buttons */
.sdk-code-btn {
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.sdk-code-btn:hover {
  opacity: 1;
}

/* Positioning */
.sdk-copy-btn {
  position: absolute;

  top: 24px;
  right: 16px;
}

.sdk-run-btn {
  max-width: 100px;
  bottom: 6px;
  right: 6px;
}
.sdk-run-btn:hover {
  background-color: #007bff;
  color: white;
}

.sdk-api {
  display: flex;
  flex-direction: column;
}


/* Responsive */
@media (max-width: 768px) {
  .sdk-container {
    flex-direction: column;
  }

  .sdk-targetDiv {
    max-width: 100%;
  }
}


