/* Sell Product Container */
.sell-product-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* Header Section */
.sell-product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sell-product-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

/* Reports Dropdown */
.reports-dropdown {
  position: relative;
  display: inline-block;
}

.reports-btn {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reports-btn:hover {
  background: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.reports-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.reports-dropdown:hover .reports-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reports-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.reports-menu a:last-child {
  border-bottom: none;
}

.reports-menu a:hover {
  background: #f9fafb;
  color: #4f46e5;
}

/* Subtitle */
.sell-product-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Form Box */
.sell-product-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input {
  padding: 0.875rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
  font-style: italic;
}

/* Action Buttons */
.sell-product-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.cancel-btn,
.submit-btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cancel-btn {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
}

.cancel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cancel-btn:not(:disabled):hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.submit-btn {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.submit-btn:hover {
  background: #059669;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sell-product-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .sell-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  
  .sell-product-title {
    font-size: 1.75rem;
    flex: 1;
    margin-right: 1rem;
  }
  
  .reports-dropdown {
    flex-shrink: 0;
  }
  
  .sell-product-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .sell-product-actions {
    justify-content: center;
  }
  
  .cancel-btn,
  .submit-btn {
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .sell-product-container {
    padding: 1rem;
  }
  
  .sell-product-title {
    font-size: 1.5rem;
  }
  
  .sell-product-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .submit-btn {
    order: 1;
    width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .cancel-btn {
    order: 2;
    width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}