.cc-client-form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  min-height: 100vh;
}

.cc-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.cc-form-header h2 {
  color: #124a9a;
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cc-form-header p {
  color: #949699;
  font-size: 18px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cc-form-layout {
  display: flex;
  gap: 30px;
  min-height: 600px;
}

.cc-form-nav {
  width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e0e6ed;
  border-radius: 16px;
  padding: 25px;
  height: fit-content;
  position: sticky;
  top: 20px;
  box-shadow: 0 8px 32px rgba(18, 74, 154, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cc-form-nav h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #124a9a;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 3px solid #009793;
  padding-bottom: 12px;
  position: relative;
}

.cc-form-nav h3:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  border-radius: 2px;
}

.cc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-nav-item {
  display: block;
  padding: 14px 18px;
  color: #949699;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.cc-nav-list a {
  color: #067d95 !important;
}

.cc-nav-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cc-nav-item:hover {
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.3);
}

.cc-nav-item:hover:before {
  opacity: 1;
}

.cc-nav-item.active {
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.4);
  transform: translateY(-1px);
}

.cc-nav-item.active:before {
  opacity: 1;
}

.cc-nav-item.hidden {
  display: none !important;
}

.cc-form-content {
  flex: 1;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e0e6ed;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 8px 32px rgba(18, 74, 154, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cc-form-section {
  display: none;
}

.cc-form-section.active {
  display: block;
}

.cc-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(18, 74, 154, 0.08);
  padding: 40px;
  margin-bottom: 20px;
}

.cc-card h3 {
  color: #124a9a;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  line-height: 1.2;
}

.cc-card > p {
  color: #949699;
  margin-bottom: 35px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.cc-field-group {
  margin-bottom: 28px;
}

.cc-field-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #124a9a;
  font-size: 15px;
}

.cc-field-group input,
.cc-field-group textarea,
.cc-field-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  background: #ffffff;
  color: #333;
  font-family: inherit;
  line-height: 1.5;
}

.cc-field-group textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.cc-field-group textarea[rows="8"],
.cc-field-group textarea[rows="10"] {
  font-size: 14px;
  line-height: 1.4;
}

.cc-field-group input:focus,
.cc-field-group textarea:focus,
.cc-field-group select:focus {
  outline: none;
  border-color: #009793;
  box-shadow: 0 0 0 4px rgba(0, 151, 147, 0.15);
  transform: translateY(-1px);
}

.cc-field-group input.error,
.cc-field-group textarea.error,
.cc-field-group select.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.cc-field-group small {
  display: block;
  color: #6c757d;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
  padding: 5px 0;
}

.cc-checkbox-group {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.cc-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px 20px;
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.cc-checkbox-label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 151, 147, 0.1) 0%,
    rgba(18, 74, 154, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.cc-checkbox-label:hover {
  border-color: #009793;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.15);
}

.cc-checkbox-label:hover:before {
  opacity: 1;
}

.cc-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  accent-color: #009793;
  position: relative;
  z-index: 1;
}

.cc-checkbox-label span {
  position: relative;
  z-index: 1;
  font-weight: 500;
  color: #333;
}

.cc-pages-container {
  margin-top: 25px;
}

.cc-page-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(18, 74, 154, 0.05);
}

.cc-page-item h4 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #009793;
  font-size: 18px;
  font-weight: 700;
}

.cc-form-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #e0e6ed;
}

.cc-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  text-align: center;
}

.cc-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.cc-btn:hover:before {
  left: 100%;
}

.cc-btn-primary {
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.3);
}

.cc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 151, 147, 0.4);
}

.cc-btn-secondary {
  background: linear-gradient(135deg, #949699 0%, #6c757d 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(148, 150, 153, 0.3);
}

.cc-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(148, 150, 153, 0.4);
}

.cc-btn-success {
  background: linear-gradient(135deg, #009793 0%, #28a745 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.3);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
}

.cc-btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 151, 147, 0.4);
}

.cc-btn-danger {
  background: #dc3545;
  color: white;
}

.cc-btn-danger:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.cc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cc-success-message {
  text-align: center;
  padding: 50px;
  margin-top: 30px;
}

.cc-success-message .cc-card {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 1px solid #c3e6cb;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 151, 147, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.cc-success-message h3 {
  color: #009793;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

.cc-success-message p {
  color: #155724;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cc-success-message p:last-child {
  margin-bottom: 0;
}

/* Enhanced Content Section Styling */
.cc-content-section {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid #009793;
  border: 1px solid rgba(0, 151, 147, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.cc-content-section:hover {
  box-shadow: 0 4px 20px rgba(0, 151, 147, 0.1);
  transform: translateY(-2px);
}

.cc-content-section h4 {
  color: #124a9a;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 151, 147, 0.2);
}

.cc-content-section h4:before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  border-radius: 2px;
}

/* Testimonials and FAQ Dynamic Sections */
.testimonial-item,
.faq-item {
  background: #f8f9fa;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-item h5,
.faq-item h5 {
  color: #124a9a;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.remove-testimonial {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-testimonial:hover {
  background: #c82333;
  transform: translateY(-1px);
}

#add_testimonial {
  margin-top: 15px;
  background: #009793;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

#add_testimonial:hover {
  background: #007d7a;
  transform: translateY(-1px);
}

/* Dynamic section visibility */
.cc-nav-item.hidden {
  display: none !important;
}

/* Enhanced content sections */
.cc-content-section {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(18, 74, 154, 0.05);
}

.cc-content-section h4 {
  color: #124a9a;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Field group enhancements */
.cc-field-group {
  margin-bottom: 20px;
}

.cc-field-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
}

.cc-field-group small {
  display: block;
  margin-top: 5px;
  color: #949699;
  font-size: 12px;
  line-height: 1.4;
}

/* Better spacing for checkbox groups in dynamic sections */
.cc-checkbox-group .cc-checkbox-label {
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cc-checkbox-group .cc-checkbox-label:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.cc-checkbox-group .cc-checkbox-label input[type="checkbox"]:checked + span {
  color: #124a9a;
  font-weight: 600;
}

/* Enhanced form actions */
.cc-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e6ed;
}

.cc-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.cc-btn-primary {
  background: linear-gradient(135deg, #009793 0%, #124a9a 100%);
  color: white;
}

.cc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 74, 154, 0.3);
}

.cc-btn-secondary {
  background: #e0e6ed;
  color: #1a1a1a;
}

.cc-btn-secondary:hover {
  background: #d1d7e0;
  transform: translateY(-1px);
}

.cc-btn-danger {
  background: #dc3545;
  color: white;
}

.cc-btn-danger:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Loading animation */
.cc-btn.loading {
  position: relative;
  color: transparent;
}

.cc-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Enhanced h3 and h4 styling */
.cc-card h3 {
  color: #124a9a;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e6ed;
}

/* File input styling */
.cc-file-input {
  width: 100%;
  padding: 12px;
  border: 2px dashed #009793;
  border-radius: 8px;
  background-color: #f8fffe;
  color: #124a9a;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cc-file-input:hover {
  border-color: #124a9a;
  background-color: #f0f9ff;
}

.cc-file-input:focus {
  outline: none;
  border-color: #124a9a;
  box-shadow: 0 0 0 3px rgba(18, 74, 154, 0.1);
}

/* Gallery caption input styling */
#image-captions-area {
  margin-top: 20px;
  padding: 20px;
  background-color: #f8fffe;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
}

.cc-captions-instruction {
  color: #124a9a;
  font-weight: 500;
  margin-bottom: 15px;
}

.cc-caption-input-group {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e6ed;
}

.cc-caption-input-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cc-caption-label {
  display: block;
  color: #124a9a;
  font-weight: 500;
  margin-bottom: 8px;
}

.cc-caption-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.cc-caption-textarea:focus {
  outline: none;
  border-color: #009793;
  box-shadow: 0 0 0 2px rgba(0, 151, 147, 0.1);
}

.cc-no-images {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* Nested booking platform fields styling */
#booking-platform-group {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 3px solid #009793;
  background: rgba(0, 151, 147, 0.05);
  border-radius: 0 8px 8px 0;
}

#booking-platform-group .cc-field-group {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  background: none;
  border-radius: 0;
}

#existing-booking-details-group,
#booking-credentials-group,
#booking-password-group {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 151, 147, 0.02);
  border: 1px solid rgba(0, 151, 147, 0.1);
  border-radius: 8px;
}

#booking-password-group small {
  color: #dc6900;
  font-weight: 500;
}

/* Domain registrar field styling */
#domain_registrar_group {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 151, 147, 0.02);
  border: 1px solid rgba(0, 151, 147, 0.1);
  border-radius: 8px;
}

#domain_registrar_group small {
  color: #dc6900;
  font-weight: 500;
  line-height: 1.5;
}

/* Events platform conditional fields styling */
#existing-events-platform-group,
#events-credentials-group {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 151, 147, 0.02);
  border: 1px solid rgba(0, 151, 147, 0.1);
  border-radius: 8px;
}

#events-credentials-group small {
  color: #dc6900;
  font-weight: 500;
  line-height: 1.5;
}

/* Hidden sections should be completely removed from flow */
.cc-hidden-section {
  display: none !important;
}

/* File Upload Styles */
.cc-upload-section {
  margin-top: 15px;
}

.cc-file-upload {
  position: relative;
  margin: 10px 0;
}

.cc-file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.cc-upload-area {
  border: 2px dashed #124a9a;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.cc-upload-area:hover {
  border-color: #009793;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 74, 154, 0.15);
}

.cc-upload-area.dragover {
  border-color: #009793;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
  transform: scale(1.02);
}

.cc-upload-icon {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.cc-upload-text {
  color: #124a9a;
  font-size: 16px;
  line-height: 1.5;
}

.cc-upload-text strong {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.cc-upload-text small {
  color: #949699;
  font-size: 13px;
}

.cc-upload-preview {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  background: #f8f9fa;
}

.cc-preview-image {
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  border: 1px solid #e0e6ed;
  margin-bottom: 10px;
}

.cc-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.cc-photo-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
}

.cc-preview-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.cc-file-name {
  color: #124a9a;
  font-weight: 500;
  font-size: 14px;
}

.cc-files-count {
  color: #124a9a;
  font-weight: 500;
  font-size: 14px;
}

.cc-remove-file {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cc-remove-file:hover {
  background: #c82333;
}

/* File upload error states */
.cc-upload-error {
  border-color: #dc3545 !important;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.cc-upload-error .cc-upload-text {
  color: #dc3545;
}

/* File upload success states */
.cc-upload-success {
  border-color: #28a745;
  background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.cc-upload-success .cc-upload-text {
  color: #28a745;
}

/* Responsive design for uploads */
@media (max-width: 768px) {
  .cc-upload-area {
    padding: 20px 15px;
  }

  .cc-upload-icon {
    font-size: 36px;
  }

  .cc-photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .cc-photo-grid img {
    height: 80px;
  }

  .cc-preview-image {
    max-width: 100px;
    max-height: 100px;
  }
}

/* Product Input Styling */
.cc-product-group {
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f8f9fa;
}

.cc-product-group h5 {
  color: #124a9a;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #009793;
  padding-bottom: 5px;
}

.cc-csv-format-example {
  background: #f8f9fa;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.cc-csv-format-example p {
  margin: 10px 0 5px 0;
  font-weight: 600;
  color: #124a9a;
}

.cc-csv-format-example ul {
  margin: 5px 0 15px 20px;
  padding: 0;
}

.cc-csv-format-example li {
  margin: 5px 0;
  color: #666;
}

.cc-csv-format-example code {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  display: block;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #333;
  white-space: pre-wrap;
  margin-top: 5px;
}

#manual_product_entry,
#csv_product_upload {
  margin-top: 15px;
}

#dynamic_product_fields {
  margin-top: 15px;
}

.product-weight-field,
.product-flat-rate-field {
  transition: all 0.3s ease;
}

/* Product Field Row Layout */
.cc-field-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.cc-field-third {
  flex: 1;
  min-width: 0; /* Allows flex items to shrink below their minimum content width */
}

.cc-field-third input {
  width: 100%;
}

.cc-field-third small {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  display: block;
}

/* Responsive behavior for product fields */
@media (max-width: 768px) {
  .cc-field-row {
    flex-direction: column;
    gap: 10px;
  }

  .cc-field-third {
    flex: none;
  }
}

/* Ensure proper spacing and alignment */
.cc-field-row .cc-field-group {
  margin-bottom: 0;
}

.cc-field-row .cc-field-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
