/* Merged CSS without variables */
.datepicker-container {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: white !important;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 300px;
  overflow: hidden;
  user-select: none;
  animation: fadeIn 0.2s ease-out;
}
@media(max-width:768px){
	.datepicker-container {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: white !important;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 90%;
  overflow: scroll;
  user-select: none;
  animation: fadeIn 0.2s ease-out;
		
}
}
.elementor-2888 .elementor-element.elementor-element-b980088 {
			padding:0px;
		}
.datepicker-container.show {
  display: block;
}
.elementor-widget-container{
	padding:0px !important;
}

.datepicker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3472E0 !important;
  color: white;
  padding: 16px;
}

.datepicker-title {
  font-weight: 500;
  font-size: 1.1rem;
}

.datepicker-nav {
  display: flex;
  gap: 8px;
}

.datepicker-btn {
  background: none;
  border: none;
  color: white !important;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.datepicker-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.month-year-selector {
  display: flex;
  justify-content: space-between !important;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.month-selector, .year-selector {
  position: relative;
}

.month-selector select, .year-selector select {
  appearance: none;
  background: transparent !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px;
  padding: 6px 24px 6px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #333333 !important;
  width: 120px !important;
}

.month-selector:after, .year-selector:after {
  content: '▼';
  font-size: 0.7rem;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999999 !important;
}

.datepicker-calendar {
  padding: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 500;
  color: #999999;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 2px;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.calendar-day:hover:not(.empty):not(.disabled) {
  background-color: #e6f0ff !important;
}

.calendar-day.current {
  background-color: #e6f0ff !important;
  color: #3472E0 !important;
  font-weight: 500;
}

.calendar-day.selected {
  background-color: #3472E0 !important;
  color: white !important;
  font-weight: 500;
}

.calendar-day.disabled {
  color: #999999 !important;
  cursor: default;
  opacity: 0.5;
}

.calendar-day.empty {
  cursor: default !important;
}

.datepicker-footer {
  display: flex;
  justify-content: space-between !important;
  padding: 16px;
  border-top: 1px solid #e0e0e0 !important;
}

.today-btn, .clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.today-btn {
  color: #3472E0 !important;
}

.clear-btn {
  color: #FF3B30 !important;
}

.today-btn:hover, .clear-btn:hover {
  text-decoration: underline;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f5f7fa;
  color: #333333;
  line-height: 1.5;
  min-height: 100vh;
  padding: 32px;
} */

.container {
  max-width: 900px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

header h1 {
  color: #3472E0;
  margin-bottom: 4px;
  font-size: 2.5rem;
}

header p {
  color: #666666;
  font-size: 1.1rem;
}

.calculator-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 32px;
  margin-bottom: 32px;
}

section {
  margin-bottom: 32px;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333333;
}

.date-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.input-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #666666 !important;
}

.date-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.date-input:focus {
  border-color: #3472E0 !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 114, 224, 0.2);
}

.calendar-btn {
  position: absolute;
  right: 16px;
  background: none !important;
  border: none !important;
  color: #999999 !important;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.calendar-btn:hover {
  color: #3472E0 !important;
}

.checkbox-container {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #3472E0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input[type="radio"] {
  margin-right: 8px;
  accent-color: #3472E0;
}

.holidays-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}

.holiday-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.holiday-input-group {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.3s ease-out;
}

.holiday-input-container {
  flex: 1;
  position: relative;
}

.remove-holiday-btn {
  background: none !important;
  border: none !important;
  color: #FF3B30 !important;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.remove-holiday-btn:hover {
  transform: scale(1.1);
}

.add-holiday-btn {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: #e6f0ff !important;
  color: #3472E0 !important;
  border: 1px dashed #3472E0 !important;
  padding: 16px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-holiday-btn:hover {
  background-color: rgba(52, 114, 224, 0.2);
}

.results-section {
  background-color: #e6f0ff !important;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.result-display {
  text-align: center;
  margin-bottom: 24px;
}

#result-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

#days-count {
  font-weight: bold !important;
  color: #3472E0 !important;
  font-size: 1.5rem;
}

.copy-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: white !important;
  color: #3472E0 !important;
  border: 1px solid #3472E0 !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: rgba(52, 114, 224, 0.1) !important;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.primary-btn, .secondary-btn {
  padding: 16px 32px !important;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.primary-btn {
  background-color: #3472E0 !important;
  color: white !important;
  border: none !important;
}

.primary-btn:hover {
  background-color: #2855b9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(52, 114, 224, 0.3) !important;
}

.secondary-btn {
  background-color: white !important;
  color: #666666 !important;
  border: 1px solid #e0e0e0 !important;
}

.secondary-btn:hover {
  border-color: #666666 !important;
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #7D3CE3 !important;
  color: white !important;
  padding: 16px 24px;
  border-radius: 8px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.toast.show {
  bottom: 20px;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .date-inputs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calculator-card {
    padding: 24px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .primary-btn, .secondary-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  .holiday-input-group {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e0e0e0;
  }

  .remove-holiday-btn {
    position: absolute;
    top: 0;
    right: 0;
  }

  .holiday-input-container {
    width: 100%;
    margin-right: 0;
  }
}