* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", sans-serif;
  background: #030407;
  color: #e6e6e6;
  overflow-x: hidden;
  padding-bottom: 60px;
}

/* HEADER */
.top-header {
    width: 100%;
    padding: 22px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-left img {
    height: 64px;
    filter: drop-shadow(0 0 8px rgba(78,161,255,0.45));
}
.header-right .login-btn {
    padding: 12px 22px;
    background: linear-gradient(90deg,#4ea1ff,#9b4dff);
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

/* CALENDAR WRAPPER */
.calendar-wrapper {
  width: 92%;
  max-width: 980px;
  margin: 50px auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 50px rgba(0,150,255,0.25);
}

/* CALENDAR HEADER */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.calendar-header h2 {
  font-size: 28px;
  font-weight: 600;
}
.nav-btn {
  cursor: pointer;
  font-size: 32px;
  color: #4ea1ff;
}

/* GRID */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.day-name {
  text-align: center;
  opacity: 0.75;
  font-size: 15px;
  font-weight: 600;
}
.day {
  height: 95px;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.25s ease;
}
.day:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
.day-number {
  font-size: 20px;
  font-weight: 700;
}

/* MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: blurIn 0.4s ease forwards;
}

@keyframes blurIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(6px); }
}

.modal-box {
  width: 90%;
  max-width: 480px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 40px rgba(0,150,255,0.35);
  animation: modalFade 0.35s ease;
}

@keyframes modalFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  float: right;
  font-size: 26px;
  cursor: pointer;
  color: #4ea1ff;
}

/* SUCCESS POPUP */
.success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #4ea1ff;
  color: #000;
  padding: 18px 24px;
  border-radius: 12px;
  font-weight: 700;
  display: none;
  box-shadow: 0 0 20px rgba(78,161,255,0.6);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.submit-btn {
  margin-top: 26px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg,#4ea1ff,#9b4dff);
  color: #000;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 16px;
}


.details-panel input,
.details-panel select,
.modal-box input,
.modal-box select {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 15px;
  transition: 0.25s ease;
}