.object-fit-cover {
  object-fit: cover;
}

/* Enhanced form styles for better UX */
.form-section {
  transition: all 0.3s ease;
}

.form-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.progress-indicator {
  background: linear-gradient(90deg, #007bff 0%, #28a745 100%);
}

.image-upload-area {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-upload-area:hover {
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}

.image-upload-area.dragover {
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
}

.location-btn {
  transition: all 0.3s ease;
}

.location-btn:hover {
  transform: scale(1.05);
}

.step-indicator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}

/* Character counter styling */
.char-counter {
  font-size: 0.875rem;
  color: #6c757d;
}

.char-counter.warning {
  color: #fd7e14;
}

.char-counter.danger {
  color: #dc3545;
}

/* Form validation enhancements */
.was-validated .form-control:valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2328a745' d='m2.3 6.73.79-.79L4.25 7.11l2.58-2.58.8.8-3.39 3.38z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23dc3545' d='M7.41 6 10 3.41 8.59 2 6 4.59 3.41 2 2 3.41 4.59 6 2 8.59 3.41 10 6 7.41 8.59 10 10 8.59z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .form-section {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .step-indicator {
    width: 25px;
    height: 25px;
    font-size: 0.875rem;
  }
}

/* Loading states */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success animations */
.success-feedback {
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}