* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #424242;
  background-color: #ffffff;
  min-height: 100vh;
} */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
    font-family: inherit;
	}

header p {
  font-size: 1.1rem !important;
  opacity: 0.9;
}

.form-section {
  background: #ffffff !important;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1) !important;
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0 !important;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600 !important;
  color: #424242 !important;
  font-size: 1rem !important;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
}

.form-group input:focus,
.form-group select:focus {
  outline: none !important;
  border-color: #e91e63 !important;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.weekdays-group {
  margin-bottom: 2rem;
}

.weekdays-subtitle {
  color: #9e9e9e !important;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic !important;
}

.weekdays-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.weekday-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px !important;
  transition: background-color 0.3s ease;
}

.weekday-item:hover {
  background-color: #fce4ec !important;
}

.weekday-item input[type="checkbox"] {
  width: auto;
  accent-color: #e91e63;
  transform: scale(1.2);
}

.weekday-item label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 2rem;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer !important;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-generate {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff !important;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.2);
}

.btn-reset {
  background-color: #f5f5f5 !important;
  color: #424242 !important;
  border: 2px solid #e0e0e0 !important;
}

.btn-reset:hover {
  background-color: #e0e0e0 !important;
  transform: translateY(-2px);
}

.btn-copy {
  background-color: #e91e63 !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-copy:hover {
  background-color: #b71c1c;
  transform: translateY(-1px);
}

.results-section {
  background: #ffffff !important;
  padding: 2rem;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
  border: 1px solid #e0e0e0 !important;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-header h2 {
  color: #d32f2f !important;
  font-size: 1.5rem;
  font-weight: 700;
}

.results-content {
  background-color: #f5f5f5 !important;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  max-height: 400px;
  overflow-y: auto;
}

.date-result {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 4px solid #e91e63;
  font-family: 'Courier New', monospace;
  font-size: 17px;
	color:black;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.date-result:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 6px rgba(233, 30, 99, 0.2);
}

.date-result:last-child {
  margin-bottom: 0;
}

.error-message {
  background-color: #ffebee;
  color: #b71c1c;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #d32f2f;
  margin-top: 1rem;
  font-weight: 500;
}

.success-message {
  background-color: #e8f5e8;
  color: #4caf50;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
}

.toast-container {
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: linear-gradient(135deg, #e91e63, #d32f2f);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
  font-weight: 500;
  font-size: 0.95rem;
  min-width: 250px;
  max-width: 350px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.toast.info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 5px;
  }

  header {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  header h1 {
    font-size: 35px !important;
  }

  .form-section,
  .results-section {
    padding: 1.5rem;
  }

  .weekdays-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .results-header {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    width: 100%;
  }

  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.75rem;
  }

  .weekdays-container {
    grid-template-columns: 1fr;
  }

  .form-section,
  .results-section {
    padding: 1rem;
  }
}

/* Custom scrollbar for results */
.results-content::-webkit-scrollbar {
  width: 6px;
}

.results-content::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.results-content::-webkit-scrollbar-thumb {
  background: #e91e63;
  border-radius: 3px;
}

.results-content::-webkit-scrollbar-thumb:hover {
  background: #d32f2f;
}

/* Loading animation */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn-generate.loading {
  background: #9e9e9e;
}

.btn-generate.loading::after {
  content: " ...";
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: " ."; }
  40% { content: " .."; }
  60%, 100% { content: " ..."; }
}
