/* Vacation Popup Styles */
.vacation-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.vacation-popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.vacation-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.vacation-popup-content {
  position: relative;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.vacation-popup.show .vacation-popup-content {
  transform: scale(1);
}

.vacation-popup-header {
  position: relative;
  padding: 20px 20px 0;
  text-align: right;
}

.vacation-popup-close {
  background: none;
  border: none;
  color: var(--heading-color);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vacation-popup-close:hover {
  background: var(--assistant-color);
  color: var(--theme-color);
  transform: rotate(90deg);
}

.vacation-popup-body {
  padding: 0 40px 40px;
  text-align: center;
}

.vacation-icon {
  margin-bottom: 30px;
  animation: pulse 2s infinite;
  position: relative;
  display: inline-block;
}

.vacation-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.vacation-title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.vacation-subtitle {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--theme-color);
  margin-bottom: 25px;
  font-style: italic;
  opacity: 0.9;
}

.vacation-dates {
  margin-bottom: 25px;
}

.vacation-date {
  display: inline-block;
  background: var(--theme-color);
  color: #000;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(228, 220, 211, 0.3);
}

.vacation-message {
  color: var(--body-color);
  line-height: 1.6;
}

.vacation-message p {
  margin-bottom: 15px;
  font-size: 15px;
}

.vacation-message p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* Responsive Design */
@media only screen and (max-width: 767px) {
  .vacation-popup-content {
    width: 95%;
    margin: 20px;
  }

  .vacation-popup-body {
    padding: 0 25px 30px;
  }

  .vacation-title {
    font-size: 20px;
  }

  .vacation-subtitle {
    font-size: 14px;
  }

  .vacation-date {
    font-size: 12px;
    padding: 10px 20px;
  }

  .vacation-message p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 480px) {
  .vacation-popup-body {
    padding: 0 20px 25px;
  }

  .vacation-title {
    font-size: 18px;
  }

  .vacation-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* Dark mode adjustments */
.v-dark .vacation-popup-content {
  background: var(--bg-color);
  border-color: var(--border-color);
}

.v-dark .vacation-popup-close:hover {
  background: var(--assistant-color);
}

/* Animation for popup entrance */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vacation-popup.show .vacation-popup-content {
  animation: slideIn 0.4s ease-out;
}
