/* /Users/mickaelsebban/Documents/VSCode/review_app2025/myflask/static/css/dashboard.css */
.glassy-btn {
  color: #fff !important;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(50,60,80,0.08);
  transition: background 0.18s, box-shadow 0.15s, color 0.18s;
}

/* Blue */
.glassy-btn-blue {
  background: #6087f0 !important;
}
.glassy-btn-blue:hover,
.glassy-btn-blue:focus {
  background: #406fd8 !important;
}

/* Green */
.glassy-btn-green {
  background: #00b45a !important;
}
.glassy-btn-green:hover,
.glassy-btn-green:focus {
  background: #009943 !important;
}

/* Red */
.glassy-btn-red {
  background: #cc4f45 !important;
}
.glassy-btn-red:hover,
.glassy-btn-red:focus {
  background: #b0372e !important;
}

/* Only use on parent containers, NOT buttons themselves */
.no-bg {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


.dashboard-footer-logo-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;   /* Always column: logo above, info below */
  justify-content: center;
  align-items: center;
}

.dashboard-footer-logo {
  display: block;
  width: 100%;
  max-width: 25vw;
  min-width: 90px;
  height: auto;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .dashboard-footer-logo {
    max-width: 50vw;
    min-width: 60px;
  }
}

/* Legal Info: always stacked vertically under the logo */
.dashboard-legal-info {
  font-size: 0.98rem;
  color: #7d8698;
  margin-top: 0.35em;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.dashboard-legal-info .trademark {
  font-weight: 600;
  letter-spacing: 0.03em;
  display: block;
}

.dashboard-legal-info .patent-pending {
  font-style: italic;
  font-size: 0.97em;
  display: block;
  margin-top: 2px;
}

.dashboard-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* === INSERT: admin_web_app_tools_listgroup (visual polish) === */
#collapseAdminWebAppTools .list-group-item {
  padding: .65rem .9rem;
}
#collapseAdminWebAppTools .list-group-item i.bi {
  font-size: 1rem;
  opacity: .6;
}


/* Put overlay behind our CTA row */
#grow-network-tile .stretched-link,
#grow-network-tile .stretched-link::after { z-index: 10; }

/* CTA and its controls above overlay */
#grow-network-tile .qrw-cta { position: relative; z-index: 40; pointer-events: auto; }
#qrwOpen, #qrwInfoBtn { position: relative; z-index: 41; pointer-events: auto; }

/* Mobile tap target */
@media (max-width: 576px) {
  #qrwInfoBtn { display: inline-flex; align-items: center; justify-content: center; padding: .25rem .45rem; line-height: 1; }
  #qrwInfoBtn .badge { font-size: 1rem; padding: .38rem .6rem; }
}

/* === PATCH 2025-10-25: Admin hero tiles grid + reviews shrink (fallback) === */
#adminDashboardContainer .hero-tiles {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 992px) {
  #adminDashboardContainer .hero-tiles { grid-template-columns: 1fr 1fr; }
}
/* Ensure Bootstrap col-* widths don't interfere inside our grid */
#adminDashboardContainer .hero-tiles > [class*="col-"] { width: 100%; }

/* Make "GROW YOUR REVIEWS" image ~25% smaller on desktop */
@media (min-width: 992px) {
  .hero-img--reviews { max-width: 75% !important; }
}



/* === PATCH 2025-10-25: Reviews hero image hard override === */
@media (min-width: 992px){
  #adminDashboardContainer .hero-img--reviews{
    height: 264px !important;
    max-height: 30vh !important;
    width: auto !important;
    object-fit: contain !important;
  }
}
