@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/FontHaq1.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/FontHaq4.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

body {
  font-family: "Baloo Bhaijaan 2" !important;
  background: linear-gradient(135deg, #f3e8ff, #e0c3fc);
  color: #333;
  direction: rtl;
}

.text-purple {
  color: #a855f7;
}

.btn-purple {
  background-color: #a855f7;
  color: white;
}

.btn-purple:hover {
  background-color: #9333ea;
}

.card.glassmorph {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

input[type="text"],
textarea,
input[type="file"] {
  border-radius: 1rem;
}

.list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #892be214;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.list-group-item.done {
  background-color: #f99db6;
  text-decoration: line-through;
}

.task-item.done .task-text {
  text-decoration: line-through;
  opacity: 0.6;
}

#meditationDescription {
  background: rgba(38, 38, 38, 0.207);
  border-left: 3px solid #8a2be2;
  transition: all 0.3s ease;
}


.mood-btn {
  font-size: 1.8rem;
  padding: 0.6rem 1rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}
.mood-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.mood-btn.selected {
  border-color: #a855f7;
  background-color: rgba(168, 85, 247, 0.2);
  scale: 1.05;
}

#gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #9333ea;
}

#calendar div {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1px solid #c084fc;
}

#calendar .active {
  background-color: #9333ea;
  color: white;
}

.blockquote {
  font-style: italic;
  color: #6b21a8;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.delete-image-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: rgba(255, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.image-modal.show {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px #000;
  animation: zoomIn 0.3s ease;
}

#closeModalBtn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: 0.2s;
}
#closeModalBtn:hover {
  color: #f87171;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
