/* ================================
   🌿 Greenhouse Pages Styles
   Shared CSS for Books, News, and Videos
   ================================ */

/* Reset & Base */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3e2d;
  background-color: #f9faf9;
}

#SITE_PAGES_TRANSITION_GROUP h1.font_0.wixui-rich-text__text {
  text-align: center !important;
  font-family: 'Quicksand', sans-serif !important;
  color: rgb(53, 116, 56) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: none;
}

#SITE_PAGES_TRANSITION_GROUP p.font_8.wixui-rich-text__text {
  color: rgb(53, 116, 56) !important;
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 200 !important;
  text-transform: none;
}

/* Containers */
.greenhouse-app-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}

.greenhouse-app-container h2 {
  grid-column: 1 / -1;
  font-size: 1.8rem;
  color: #264d26;
  margin-bottom: 10px;
}

/* Cards (Books, News, Videos) */
.greenhouse-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.greenhouse-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.greenhouse-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #2d3e2d;
}

.greenhouse-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #444;
  margin: 0 0 12px;
}

/* Links inside cards */
.greenhouse-card a {
  color: #1d7a1d;
  font-weight: 600;
  text-decoration: none;
}

.greenhouse-card a:hover {
  text-decoration: underline;
}

/* Media elements */
.greenhouse-card iframe,
.greenhouse-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Buttons */
.greenhouse-btn-primary {
  display: inline-block;
  background-color: #1d7a1d;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.greenhouse-btn-primary:hover {
  background-color: #166616;
}

/* Error View */
.greenhouse-error-view {
  grid-column: 1 / -1;
  background-color: #fff3f3;
  border: 1px solid #e6b8b8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #a33;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.greenhouse-error-content h2 {
  margin: 0 0 10px;
  color: #a33;
}

.greenhouse-error-content p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

/* Notifications (GreenhouseUtils) */
.greenhouse-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 250px;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #fff;
  z-index: 10000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease forwards;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.greenhouse-notification-error {
  background-color: #dc3545;
}

.greenhouse-notification-success {
  background-color: #28a745;
}

.greenhouse-notification-info {
  background-color: #007bff;
}

.greenhouse-notification-message {
  flex-grow: 1;
  margin-right: 10px;
}

.greenhouse-notification-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .greenhouse-app-container {
    grid-template-columns: 1fr;
  }
}

#greenhouse-dashboard-app-new-appointment-box {
    width: 200px;
    display: block;
    height: 20px;
    background-color: green;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    padding: 5px;
}

section#greenhouse-app-container-left.greenhouse-app-container {
    grid-template-columns: 200px;
}

