.organization-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-title {
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
  border-color: #FFB90F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 185, 15, 0.1);
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.visible {
  display: block;
}

.form-submit {
  background: #FFB90F;
  color: black;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.form-submit:hover {
  background: #e6a700;
  transform: translateY(-2px);
}

.form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Custom Date Picker Styles */
.date-picker-container {
  position: relative;
}

.date-picker {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  margin-top: 4px;
}

.date-picker.active {
  display: block;
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.month-nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

.month-nav:hover {
  color: #FFB90F;
}

.current-month {
  font-weight: 600;
  font-size: 1.1rem;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.weekday {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled) {
  background: #fff3d6;
  border-color: #FFB90F;
}

.calendar-day.selected {
  background: #FFB90F;
  color: black;
  font-weight: 600;
}

.calendar-day.today {
  border-color: #FFB90F;
  color: #FFB90F;
  font-weight: 600;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #f5f5f5;
}

/* Loading state */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #FFB90F;
  border-top-color: transparent;
  border-radius: 50%;
  animation: loading 0.8s linear infinite;
}

@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .organization-form {
    padding: 1.5rem;
    margin: 1rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .date-picker {
    width: calc(100% - 2rem);
    max-width: 320px;
    right: 1rem;
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .organization-form {
    padding: 1rem;
  }

  .form-submit {
    padding: 0.75rem 1.5rem;
  }
}