/* ================================
   ✅ MK Visa Donation - Result Pages
   ================================ */

/* Base Page */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  direction: rtl;
  background: #f6f8f7;
  font-family: 'Cairo', sans-serif;
  text-align: center;
}

/* Fix backend layout interference */
.o_web_client, .o_main, .o_content, .o_action_manager {
  position: static !important;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  background: none !important;
}

/* === Center Container === */
.mk-success-page {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8f7;
  z-index: 9999;
  animation: fadeInBg 0.4s ease-in-out;
}

/* === Result Box === */
.mk-box {
  background: #fff;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 380px;
  width: 90%;
  animation: fadeIn 0.4s ease-in-out;
  text-align: center;
}

.mk-box h2 {
  margin: 0 0 15px;
  color: #181818;
  font-size: 18px;
  font-weight: 700;
}

.mk-box.success h2 {
  color: #181818;
}


.mk-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.mk-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* === Buttons === */
.mk-btn {
  background: #0a5c50;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 40px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.mk-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeInBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === Mobile Responsiveness === */
@media (max-width: 480px) {
  .mk-box {
    width: 92%;
    padding: 30px 25px;
  }

  .mk-box p {
    font-size: 14px;
  }

  .mk-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .mk-icon {
    width: 70px;
    height: 70px;
  }
}
