 /* الخلفية السوداء مع شفافية */
.gift-card-modal {
  backdrop-filter: blur(4px);
  transition: opacity 0.4s ease-in-out;
}

/* الكارد */
.gift-card-card {
  background: linear-gradient(145deg, #ffffff, #f3f4f6);
  border-radius: 15px;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  transform: rotateY(10deg) scale(0.9);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* فتح الكارد */
.gift-card-modal .gift-card-card {
  transform: rotateY(0deg) scale(1);
}

/* العنوان */
.gift-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* الحقول */
.gift-card-body .gift-card-field label {
  font-size: 0.875rem;
  color: #334155;
}

.gift-card-input {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.gift-card-input:focus {
  outline: none;
  border-color:var(--primary-color);
  box-shadow: 0 0 10px rgba(249,115,22,0.4);
  transform: scale(1.02);
}

/* أزرار الحفظ والإلغاء */
.gift-card-footer .gift-card-btn {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gift-card-footer .save-btn {
  background: linear-gradient(135deg, var(--primary-color), #0b5222);
  color: #fff;
}

.gift-card-footer .cancel-btn {
  background: linear-gradient(135deg, var(--primary-color), #0b5222);
  color: #fff;
}

.gift-card-footer .gift-card-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* تأثير 3D عند تحريك الماوس على الكارد */
.gift-card-card:hover {
  /* transform: perspective(800px) rotateY(5deg) rotateX(3deg) scale(1.03); */
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* الأنيميشن عند ظهور الموديل */
.gift-card-modal-enter-active, 
.gift-card-modal-leave-active {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gift-card-modal-enter, 
.gift-card-modal-leave-to {
  opacity: 0;
  transform: translateY(-50px) scale(0.9);
}

.gift-card-modal {
  perspective: 1200px;
  animation: fadeIn 0.4s ease forwards;
}

.gift-card-inner {
  background: linear-gradient(135deg, #fff7ed, #ffe6cc);
  border-radius: 20px;
  padding: 25px 20px;
  max-width: 320px;
  width: 90%;
  text-align: left;
  color: #333;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  /* transform: rotateX(-15deg) rotateY(5deg); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gift-card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3), transparent 70%);
  /* transform: rotate(25deg); */
  pointer-events: none;
}

.gift-card-inner:hover {
  /* transform: rotateX(0deg) rotateY(0deg) scale(1.08); */
  box-shadow: 0 35px 60px rgba(0,0,0,0.35);
}

.gift-card-inner p {
  margin: 6px 0;
  line-height: 1.5;
}

.gift-card-inner p.italic {
  font-style: italic;
  color: var(--primary-color);
  font-weight: 500;
}

.gift-card-inner p.font-semibold {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Fade in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fade out animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}
/* الحاوية الأساسية للكارد */
.gift-card-modal {
  perspective: 1200px;
  animation: fadeIn 0.4s ease forwards;
  padding: 1rem;
  direction: rtl; /* لدعم RTL */
}

/* الكارد الداخلي */
.gift-card-inner {
  position: relative;
  background: linear-gradient(135deg, #fff7ed, #ffe6cc);
  border-radius: 20px;
  padding: 25px 20px;
  max-width: 320px;
  width: 100%;
  text-align: right; /* RTL */
  color: #333;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  /* transform: rotateX(-15deg) rotateY(5deg); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}



/* تأثير عند Hover */
.gift-card-inner:hover {
  /* transform: rotateX(0deg) rotateY(0deg) scale(1.08); */
  box-shadow: 0 35px 60px rgba(0,0,0,0.35);
}

/* النصوص داخل الكارد */
.gift-card-inner p {
  margin: 6px 0;
  line-height: 1.5;
}

.gift-card-inner p.italic {
  font-style: italic;
  color: var(--primary-color);
  font-weight: 500;
}

.gift-card-inner p.font-semibold {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Fade in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fade out animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .gift-card-inner {
    max-width: 90%;
    padding: 20px 15px;
  }
  .gift-card-inner::after {
    font-size: 2rem;
  }
}
/* Watermark background */
.gift-card-inner {
  position: relative;
  /*background-image: */
  /*  url("https://masteretrolly.s3.eu-north-1.amazonaws.com/media/logo/2025/12/1765627249_951297459.webp")*/
  /*  ;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: 150px 150px;
  background-blend-mode: overlay; /* يمزج الصورة مع الخلفية */
  padding: 25px 20px;
  border-radius: 20px;
  max-width: 320px;
  width: 100%;
  text-align: right;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  /* transform: rotateX(-15deg) rotateY(5deg); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gift_modal_preview{
  background-color: white;
}
.section_item{
    display: block !important;
}
