/* ==============================================================
   Ohdidi Smart Web-to-App Gateway - In-App Browser Overlay (V2.1)
   Hướng dẫn thoát trình duyệt nhúng Zalo / Facebook Messenger
   ============================================================== */

.smart-inapp-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 99999;
  color: #ffffff;
  padding: 20px 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  text-align: right;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.smart-inapp-overlay--visible {
  display: block;
}

.smart-inapp-overlay__arrow {
  font-size: 34px;
  line-height: 1;
  animation: smartBounce 1.2s infinite;
  display: inline-block;
  margin-right: 8px;
}

.smart-inapp-overlay__content {
  margin-top: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.smart-inapp-overlay__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.smart-inapp-overlay__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.smart-inapp-overlay__close {
  margin-top: 18px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 9px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(247, 147, 30, 0.35);
}

@keyframes smartBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 1024px) {
  .smart-inapp-overlay {
    display: none !important;
  }
}
