/* Admin Theme Layouts */

.theme-layouts-container {
  padding: 3rem;
}

.layouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 2.4rem;
}

.layout-card {
  background: white;
  border: 0.2rem solid #e5e7eb;
  border-radius: 0.8rem;
  overflow: hidden;
  transition: all 0.2s;
}

.layout-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 0.4rem 1.2rem rgba(59, 130, 246, 0.1);
}

.layout-preview {
  padding: 3rem;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
}

.layout-icon {
  width: 100%;
  max-width: 20rem;
  height: auto;
  filter: opacity(0.7);
  transition: filter 0.2s;
}

.layout-card:hover .layout-icon {
  filter: opacity(1);
}

.layout-info {
  padding: 2rem;
  border-top: 0.1rem solid #e5e7eb;
}

.layout-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.6rem 0;
}

.layout-actions {
  display: flex;
  gap: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
}

/* Header with back link */
.header-with-back {
  margin-bottom: 1.6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #3b82f6;
}

.back-link svg {
  flex-shrink: 0;
}

/* Coming Soon Page */
.coming-soon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 3rem;
}

.coming-soon-content {
  text-align: center;
  max-width: 50rem;
}

.coming-soon-icon {
  width: 20rem;
  height: auto;
  margin: 0 auto 3rem;
  opacity: 0.3;
}

.coming-soon-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1.6rem 0;
}

.coming-soon-content p {
  font-size: 1.6rem;
  color: #6b7280;
  margin: 0 0 3rem 0;
  line-height: 1.6;
}

.coming-soon-content .btn {
  min-width: 20rem;
}

/* Responsive */
@media (max-width: 768px) {
  .theme-layouts-container {
    padding: 2rem;
  }

  .layouts-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .layout-preview {
    min-height: 16rem;
    padding: 2rem;
  }

  .coming-soon-container {
    min-height: 40vh;
    padding: 2rem;
  }

  .coming-soon-icon {
    width: 15rem;
    margin-bottom: 2rem;
  }

  .coming-soon-content h2 {
    font-size: 2.4rem;
  }

  .coming-soon-content p {
    font-size: 1.5rem;
  }
}
