/**
 * ==============================================================================
 * iSolution India — Intelligent Ad Slot & UI Components Styles
 * ==============================================================================
 */

.iso-ad-slot {
  position: relative;
  display: block;
  margin: var(--space-lg) auto;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.iso-ad-slot .ad-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 6px;
  opacity: 0.8;
}

/* Landing / Horizontal Banner Slot */
.iso-ad-landing {
  max-width: 820px;
  min-height: 90px;
  padding: 10px 0;
}

/* Processing Ad Box */
.iso-ad-processing {
  max-width: 480px;
  margin: var(--space-md) auto;
  min-height: 160px;
}

/* Result / Pre-Download Ad Box */
.iso-ad-result {
  max-width: 680px;
  margin: var(--space-lg) auto;
  min-height: 120px;
}

/* House Fallback / Self-Promo Card Styles */
.ad-house-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-lg, 12px);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.ad-house-horizontal .ad-house-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ad-house-box .ad-house-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ad-house-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-primary, linear-gradient(135deg, #05c3dd 0%, #0077b6 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.ad-house-text {
  flex: 1;
  min-width: 220px;
}

.ad-house-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading, #0f172a);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.ad-house-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
}

.ad-house-btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem !important;
  padding: 8px 18px !important;
}

@media (max-width: 768px) {
  .ad-house-horizontal .ad-house-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .ad-house-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

