* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #2c3e50 0%, #3b4371 50%, #4a5568 100%);
  min-height: 100vh;
  color: #333;
}

.create-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.create-header {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.create-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.create-logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(45deg, #4fd1c7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.create-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.create-nav-links a {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.create-nav-links a:hover {
  color: #4fd1c7;
}

.create-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
}

.create-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(30, 41, 59, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.create-mobile-menu.active {
  display: block;
}

.create-mobile-menu a {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Breadcrumb */
.create-breadcrumb {
  padding: 1rem 0;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.create-breadcrumb a {
  color: #4fd1c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.create-breadcrumb a:hover {
  color: #2d8a7f;
}

.create-breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Main Content */
.create-main-content {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.create-page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.create-page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.create-page-subtitle {
  color: #cbd5e0;
  font-size: 1.1rem;
}

/* Form Styles */
.create-product-form {
  display: grid;
  gap: 2rem;
}

.create-form-section {
  background: rgba(45, 55, 72, 0.3);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.create-section-title {
  color: #4fd1c7;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.create-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.create-form-group {
  display: flex;
  flex-direction: column;
}

.create-form-group.full-width {
  grid-column: 1 / -1;
}

.create-form-group label {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.create-required {
  color: #e74c3c;
}

.create-form-group input,
.create-form-group select {
  padding: 1rem;
  border: 2px solid rgba(79, 209, 199, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.create-form-group input:focus,
.create-form-group select:focus {
  outline: none;
  border-color: #4fd1c7;
  box-shadow: 0 0 0 3px rgba(79, 209, 199, 0.1);
}

.create-form-group input::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

/* Multiple select styling */
.create-form-group select[multiple] {
  min-height: 120px;
  padding: 0.5rem;
}

.create-form-group select[multiple] option:checked {
  background: linear-gradient(45deg, #2d8a7f, #0891b2);
  color: white;
}

.create-form-note {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* Image Upload */
.create-image-upload-area {
  border: 2px dashed rgba(79, 209, 199, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
}

.create-image-upload-area:hover {
  border-color: #4fd1c7;
  background: rgba(79, 209, 199, 0.1);
}

.create-image-upload-area.dragover {
  border-color: #4fd1c7;
  background: rgba(79, 209, 199, 0.2);
  transform: scale(1.02);
}

.create-upload-icon {
  font-size: 3rem;
  color: #4fd1c7;
  margin-bottom: 1rem;
}

.create-upload-text {
  color: #cbd5e0;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.create-upload-hint {
  color: #9ca3af;
  font-size: 0.9rem;
}

#createImageInput {
  display: none;
}

.create-image-preview {
  display: none;
  position: relative;
  margin-top: 1rem;
}

.create-preview-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.create-remove-image {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Description Textarea */
#createDescriptionEditor {
  min-height: 200px;
  border: 2px solid rgba(79, 209, 199, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
  resize: vertical;
  width: 100%;
}

#createDescriptionEditor:focus {
  outline: none;
  border-color: #4fd1c7;
  box-shadow: 0 0 0 3px rgba(79, 209, 199, 0.1);
}

#createDescriptionEditor::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

/* Price Input */
.create-price-input-group {
  position: relative;
}

.create-currency-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #4fd1c7;
  font-weight: bold;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.create-price-input {
  padding-left: 3rem !important;
}

/* Action Buttons */
.create-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.create-action-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 150px;
}

.create-btn-save {
  background: linear-gradient(45deg, #2d8a7f, #0891b2);
  color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(45, 138, 127, 0.4);
}

.create-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 138, 127, 0.6);
}

.create-btn-draft {
  background: transparent;
  color: #f39c12;
  border: 2px solid #f39c12;
}

.create-btn-draft:hover {
  background: #f39c12;
  color: white;
  transform: translateY(-2px);
}

.create-btn-cancel {
  background: transparent;
  color: #9ca3af;
  border: 2px solid #4a5568;
}

.create-btn-cancel:hover {
  background: #4a5568;
  color: #e2e8f0;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .create-nav-links {
    display: none;
  }

  .create-menu-toggle {
    display: block;
  }

  .create-page-title {
    font-size: 2rem;
  }

  .create-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .create-main-content {
    padding: 1.5rem;
  }

  .create-form-section {
    padding: 1.5rem;
  }

  .create-form-actions {
    flex-direction: column;
    align-items: center;
  }

  .create-action-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .create-container {
    padding: 0 10px;
  }

  .create-main-content {
    padding: 1rem;
    margin: 1rem 0;
  }

  .create-page-title {
    font-size: 1.8rem;
  }

  .create-section-title {
    font-size: 1.1rem;
  }

  .create-form-section {
    padding: 1rem;
  }

  .create-upload-icon {
    font-size: 2rem;
  }

  .create-upload-text {
    font-size: 1rem;
  }
}