/**
 * In-App Browser Gate Styles
 * @package Deutschfuns
 * Colors: Deutschfuns blue theme (#4A90D9)
 */

.de-inapp-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.de-inapp-gate__content {
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 32px 24px;
  padding-top: 48px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.de-inapp-gate--closing .de-inapp-gate__content {
  animation: slideDown 0.25s ease-in forwards;
}

@keyframes slideDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

.de-inapp-gate__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  line-height: 40px;
  color: #888;
  cursor: pointer;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.de-inapp-gate__close:active { background: #555; }

.de-inapp-gate__logo { margin-bottom: 16px; }

.de-inapp-gate__title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 12px;
}

.de-inapp-gate__message {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 24px;
}

.de-inapp-gate__btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 0.2s;
}

.de-inapp-gate__btn:active { transform: scale(0.98); }

.de-inapp-gate__btn--primary {
  background: #4A90D9;
  color: #fff;
}

.de-inapp-gate__btn--secondary {
  background: #e8f4fd;
  color: #4A90D9;
  border: 1px solid #4A90D9;
}

.de-inapp-gate__guide {
  display: block;
  margin-top: 16px;
  padding: 12px;
  background: #e8f4fd;
  border-radius: 8px;
  font-size: 13px;
  color: #2c5282;
  text-align: left;
  border-left: 3px solid #4A90D9;
}

.de-inapp-gate__guide code {
  background: #bee3f8;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}
