body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #2c7744, #a8e063);
  background-attachment: fixed;
  background-size: cover;
  padding: 20px;
  color: #ffffff;
  text-align: center;
}

header {
  text-align: center;
  margin-bottom: 30px;
}


.glass-title {
  background: rgba(255, 255, 255, 0.032);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.133);
  display: inline-block;
  color: #ffffff;
}

.title-icon {
  width: 45px;       /* Controls horizontal size */
  height: 45px;      /* Controls vertical size */
  margin-right: 10px; /* Optional spacing between icon and text */
  vertical-align: middle; /* Keeps it aligned with the text */
}



.calendar-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.calendar-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  color: #ffffff;
}

.calendar-box h3 {
  text-align: center;
  margin-bottom: 10px;
}

.calendar-header {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#gregorian-calendar, #hijri-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}

.day-cell {
  padding: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s;
}

button:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* 🔄 Fade-In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fade-container {
  animation: fadeIn 0.8s ease-out forwards;
}




.calendar-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}


.converter {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.converter-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  text-align: center;
}

.converter-glass h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.converter-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.converter-row input[type="date"] {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  width: 220px;
}

.converter-row button {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  background-color: #3fa65b;
  color: white;
  border: none;
  cursor: pointer;
}

.converter-row button:hover {
  background-color: #2c7744;
}

#convertedHijri {
  font-size: 18px;
  color: #fff;
}

.goto-today-inline {
  margin-top: 20px;
  text-align: center;
}

.goto-today-inline button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 128, 255, 0.2);
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s;
}

.goto-today-inline button:hover {
  background: rgba(0, 128, 255, 0.4);
}