:root {
  --primary-color: #0d6efd;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-bg: #f8f9fa;
  --border-color: #dee2e6;
  --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --border-radius: 0.375rem;
}

/* Radio button and checkbox validation styling */
.form-check-input.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-check-input.is-invalid:checked {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.form-check-input.is-valid:checked {
  background-color: var(--success-color);
  border-color: var(--success-color);
}


form#customVendorForm .step label::after{
    content: none !important;
}

/* Radio button group validation styling */
.form-check-inline .form-check-input.is-invalid {
  margin-right: 0.5rem;
}

.form-check-inline .form-check-input.is-valid {
  margin-right: 0.5rem;
}

/* Terms checkbox specific styling */
.form-check-input[name="terms_agreement"].is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input[name="terms_agreement"].is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Accordion checkbox validation styling */
.accordion .form-check-input.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.accordion .form-check-input.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.accordion .form-check-input.is-invalid:checked {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.accordion .form-check-input.is-valid:checked {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

/* Accordion header validation styling */
.accordion-button.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.accordion-button.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Word counter styling */
.word-counter {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.word-counter small {
  font-size: 0.875rem;
  font-weight: 500;
}

.word-counter .text-muted {
  color: #6c757d !important;
}

.word-counter span {
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Textarea validation styling */
textarea.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

textarea.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Searchable select styling */
.searchable-select-wrapper {
  position: relative;
}

.searchable-select-input {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.searchable-select-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.searchable-select-dropdown {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-option {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.dropdown-option:hover {
  background-color: #f8f9fa;
}

.dropdown-option:active {
  background-color: #e9ecef;
}

/* State and city select styling */
select[name="state[]"], select[name="city[]"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.25rem;
}

select[name="state[]"]:focus, select[name="city[]"]:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Accordion styling for checkbox groups */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.accordion:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.15);
}

.accordion-item {
  border: none;
  margin-bottom: 0;
}

.accordion-item:first-child .accordion-button {
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.accordion-item:last-child .accordion-button.collapsed {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.accordion-button {
  background-color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem;
  color: #495057;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: none;
}

.accordion-button.collapsed {
  background-color: #fff;
  color: #495057;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-collapse {
  border-top: 1px solid var(--border-color);
  display: none; /* Hide by default */
}

.accordion-collapse.show {
  display: block; /* Show when opened */
}

.accordion-body {
  padding: 1rem;
  background-color: #fff;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.accordion-body .form-check {
  margin-bottom: 0.75rem;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
}

.step-4 .accordion-body .form-check{
    padding-left: 30px;
}

.accordion-body .form-check:last-child {
  margin-bottom: 0;
}

.accordion-body .form-check-input {
  margin-top: 0;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.accordion-body .form-check-label {
  font-size: 0.9rem;
  color: #495057;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-bottom: 0;
  flex: 1;
}

.accordion-body .form-check-label:hover {
  color: var(--primary-color);
}

.hivepress-vendor-form-container {
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  max-width: 100% !important;
  width: 100% !important;
}

.hivepress-vendor-form-container .container {
  max-width: 100%;
  margin: 0 auto;
}

.hivepress-vendor-form-container .step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.hivepress-vendor-form-container .step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

.hivepress-vendor-form-container .form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hivepress-vendor-form-container .progress {
  height: 30px;
  border-radius: 15px;
  background-color: #e9ecef;
  margin-bottom: 2rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hivepress-vendor-form-container .progress-bar {
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 15px;
  background: linear-gradient(45deg, var(--success-color), #20c997);
  transition: width 0.5s ease;
}

.hivepress-vendor-form-container .product-table th,
.hivepress-vendor-form-container .product-table td {
  vertical-align: middle;
  text-align: center;
}

.hivepress-vendor-form-container .product-table input,
.hivepress-vendor-form-container .product-table select,
.hivepress-vendor-form-container .product-table textarea {
  width: 100%;
}

.hivepress-vendor-form-container .product-table .remove-product {
  color: var(--danger-color);
  cursor: pointer;
  font-size: 1.2rem;
  background: white;
  border: 1px solid var(--danger-color);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin: 0 auto;
}

.hivepress-vendor-form-container .product-table .remove-product:hover {
  background: var(--danger-color);
  color: white;
  transform: scale(1.1);
}

.hivepress-vendor-form-container .billing-address-group {
  position: relative;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  background-color: #fff;
  transition: all 0.2s ease;
}

.hivepress-vendor-form-container .billing-address-group:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.hivepress-vendor-form-container .remove-address {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 1.5rem;
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hivepress-vendor-form-container .remove-address:hover {
  background: var(--danger-color);
  color: white;
  transform: scale(1.1);
}

.hivepress-vendor-form-container .btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 120px;
}

.hivepress-vendor-form-container .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hivepress-vendor-form-container .form-control,
.hivepress-vendor-form-container .form-select {
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
  transition: all 0.2s ease;
  padding: 0.75rem;
}

.hivepress-vendor-form-container .form-control:focus,
.hivepress-vendor-form-container .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.hivepress-vendor-form-container .form-control.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.hivepress-vendor-form-container .form-control.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.hivepress-vendor-form-container .input-group-text {
  background: linear-gradient(45deg, var(--success-color), #20c997);
  border: none;
  color: white;
  font-weight: 600;
}

.hivepress-vendor-form-container .form-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin-bottom: 2rem;
  background-color: #fff;
}

/* File upload wrapper styles */
.hivepress-vendor-form-container .file-upload-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hivepress-vendor-form-container .file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hivepress-vendor-form-container .file-upload-label {
  display: block;
  padding: 0.75rem;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f8f9fa;
}

.hivepress-vendor-form-container .file-upload-label:hover {
  border-color: var(--primary-color);
  background-color: #e7f3ff;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hivepress-vendor-form-container {
    padding: 0.5rem;
  }
  
  .hivepress-vendor-form-container .form-card {
    padding: 1rem;
  }
  
  .hivepress-vendor-form-container .form-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hivepress-vendor-form-container .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .hivepress-vendor-form-container .product-table {
    font-size: 0.875rem;
  }
  
  .hivepress-vendor-form-container .product-table th,
  .hivepress-vendor-form-container .product-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .hivepress-vendor-form-container .billing-address-group {
    padding: 1rem;
  }
  
  .hivepress-vendor-form-container .row.g-2 > [class*="col-"] {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hivepress-vendor-form-container .product-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .hivepress-vendor-form-container .form-nav {
    padding: 0.5rem;
  }
}

/* Alert messages */
.hivepress-vendor-form-container .alert-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  animation: slideIn 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Form validation feedback */
.hivepress-vendor-form-container .form-control.is-valid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 3.03-3.03-1.06-1.06-1.97 1.97-.94.94-1.06-1.06z'/%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);
}

.hivepress-vendor-form-container .form-control.is-invalid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%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);
}

/* Loading spinner */
.hivepress-vendor-form-container .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* File upload preview */
.hivepress-vendor-form-container .file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hivepress-vendor-form-container .file-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid var(--border-color);
}

/* Step completion indicator */
.hivepress-vendor-form-container .step-complete {
  color: var(--success-color);
  font-weight: 600;
}

/* Mobile optimizations */
@media (max-width: 576px) {
  .hivepress-vendor-form-container .alert-message {
    left: 10px;
    right: 10px;
    min-width: auto;
  }
  
  .hivepress-vendor-form-container .form-nav {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    margin: 0 -1rem;
    z-index: 1000;
  }
}

/* Form validation styles */
.hivepress-vendor-form-container .invalid-feedback {
  display: block;
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.hivepress-vendor-form-container .valid-feedback {
  display: block;
  color: var(--success-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Address group styles */
.hivepress-vendor-form-container .address-group {
  position: relative;
  transition: all 0.3s ease;
}

.hivepress-vendor-form-container .address-group.removing {
  animation: fadeOut 0.3s ease-in-out forwards;
}

.hivepress-vendor-form-container .address-group .remove-address {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 1.2rem;
  background: white;
  border: 1px solid var(--danger-color);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hivepress-vendor-form-container .address-group .remove-address:hover {
  background: var(--danger-color);
  color: white;
  transform: scale(1.1);
}

/* Client input group styles */
.hivepress-vendor-form-container .client-input-group {
  transition: all 0.3s ease;
}

.hivepress-vendor-form-container .client-input-group.removing {
  animation: fadeOut 0.3s ease-in-out forwards;
}

/* Gallery preview styles */
.hivepress-vendor-form-container .gallery-preview-item {
  position: relative;
  display: inline-block;
  margin: 0.25rem;
}

.hivepress-vendor-form-container .gallery-preview-item .remove-image {
  position: absolute;
  top: -5px;
  right: -5px;
  color: white;
  background: var(--danger-color);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hivepress-vendor-form-container .gallery-preview-item .remove-image:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* Loading state styles */
.hivepress-vendor-form-container .btn.loading {
  position: relative;
  color: transparent;
}

.hivepress-vendor-form-container .btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form field focus styles */
.hivepress-vendor-form-container .form-control:focus,
.hivepress-vendor-form-container .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button hover effects */
.hivepress-vendor-form-container .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

/* Card shadow enhancement */
.hivepress-vendor-form-container .card {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 1rem;
}

.hivepress-vendor-form-container .card-header {
  border-radius: 1rem 1rem 0 0 !important;
  border-bottom: none;
}

/* Progress bar enhancement */
.hivepress-vendor-form-container .progress {
  background: linear-gradient(45deg, #e9ecef, #f8f9fa);
  border: 1px solid var(--border-color);
}

.hivepress-vendor-form-container .progress-bar {
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Table responsive enhancements */
.hivepress-vendor-form-container .table-responsive {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hivepress-vendor-form-container .table {
  margin-bottom: 0;
}

.hivepress-vendor-form-container .table-light {
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

/* Form text helper styles */
.hivepress-vendor-form-container .form-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Required field indicator */
.hivepress-vendor-form-container .form-label:has(+ input[required])::after,
.hivepress-vendor-form-container .form-label:has(+ select[required])::after,
.hivepress-vendor-form-container .form-label:has(+ textarea[required])::after {
  content: ' *';
  color: var(--danger-color);
}

/* Alternative method for browsers that don't support :has() */
.hivepress-vendor-form-container .form-label.required::after {
  content: ' *';
  color: var(--danger-color);
} 

/* Profile Photo Preview Styles */
.profile-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin-top: 10px;
}

.profile-preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-preview-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-preview-info small {
    font-size: 12px;
    color: #6c757d;
}

.profile-preview-info .btn {
    font-size: 11px;
    padding: 4px 8px;
}

/* File Preview Styles (for PDFs and other files) */
.file-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin-top: 10px;
}

.file-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.file-preview-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-preview-info strong {
    font-size: 14px;
    color: #495057;
}

.file-preview-info small {
    font-size: 12px;
    color: #6c757d;
}

/* Product Image Preview Styles */
.product-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-top: 5px;
}

.product-preview-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.product-preview-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-preview-info small {
    font-size: 11px;
    color: #6c757d;
}

/* Gallery Images Preview Styles */
.gallery-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.gallery-preview-header h6 {
    margin: 0;
    color: #495057;
    font-size: 14px;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.gallery-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
}

.gallery-preview-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 5px;
}

.gallery-preview-info small {
    font-size: 10px;
    color: #6c757d;
    word-break: break-word;
    line-height: 1.2;
}

/* Responsive design for all previews */
@media (max-width: 768px) {
    .profile-preview-wrapper,
    .file-preview-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .profile-preview-image {
        width: 60px;
        height: 60px;
    }
    
    .file-preview-icon {
        width: 50px;
        height: 50px;
    }
    
    .file-preview-icon i {
        font-size: 2rem !important;
    }
    
    .product-preview-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .product-preview-image {
        width: 40px;
        height: 40px;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .gallery-preview-image {
        width: 80px;
        height: 60px;
    }
    
    .gallery-preview-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
} 

/* File Preview Styles */
.file-preview {
    margin-top: 10px;
}

.file-preview .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-preview .card-body {
    padding: 12px;
}

.file-preview img {
    border-radius: 6px;
    object-fit: cover;
}

.file-preview .btn-outline-danger {
    border-width: 1px;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.file-preview .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Gallery Preview Styles */
#gallery-preview-container {
    margin-top: 10px;
}

.gallery-preview {
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.gallery-preview:hover {
    transform: scale(1.05);
}

/* File Input Enhancement */
input[type="file"] {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

input[type="file"]:hover {
    border-color: #007bff;
}

input[type="file"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* File Preview Animation */
.file-preview {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive File Preview */
@media (max-width: 768px) {
    .file-preview .card-body {
        padding: 8px;
    }
    
    .file-preview img {
        max-width: 100px;
        max-height: 100px;
    }
    
    #gallery-preview-container .col-6 {
        margin-bottom: 10px;
    }
}

/* PDF Preview Styles */
.file-preview .fa-file-pdf {
    font-size: 2.5rem;
}

.file-preview .text-danger {
    color: #dc3545 !important;
}

/* File Size Display */
.file-preview small {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Remove Button Positioning */
.file-preview .position-absolute {
    z-index: 10;
}

/* Loading State for File Uploads */
.file-upload-loading {
    opacity: 0.6;
    pointer-events: none;
}

.file-upload-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Service Categories Styles */
.service-categories-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.service-category-group {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-category-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.category-header .form-check {
    margin: 0;
}

.category-header .form-check-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
}

.category-header .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.toggle-subcategories {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-subcategories:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    color: white;
}

.subcategories-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

.subcategory-group {
    margin-bottom: 25px;
}

.subcategory-group:last-child {
    margin-bottom: 0;
}

.subcategory-title {
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
    position: relative;
}

.subcategory-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-checkboxes .form-check {
    margin: 0;
    padding: 8px 12px 8px 25px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.service-checkboxes .form-check:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-checkboxes .form-check-input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.service-checkboxes .form-check-label {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
}

.service-checkboxes .form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Category checkbox styling */
.category-checkbox:checked + .form-check-label {
    color: var(--primary-color);
}

.category-checkbox:checked + .form-check-label i {
    color: var(--primary-color);
}

/* Responsive design for service categories */
@media (max-width: 768px) {
    .service-categories-container {
        padding: 15px;
    }
    
    .service-category-group {
        padding: 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-subcategories {
        align-self: flex-end;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .subcategories-container {
        padding: 15px;
    }
    
    .service-checkboxes {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .service-checkboxes .form-check {
        padding: 6px 10px 6px 20px;
    }
    
    .service-checkboxes .form-check-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-categories-container {
        padding: 10px;
    }
    
    .service-category-group {
        padding: 12px;
    }
    
    .subcategories-container {
        padding: 12px;
    }
    
    .category-header .form-check-label {
        font-size: 1rem;
    }
    
    .subcategory-title {
        font-size: 0.95rem;
    }
}

/* Animation for checkbox interactions */
.service-checkboxes .form-check-input:checked {
    animation: checkmark 0.2s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Selected services counter */
.selected-services-counter {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Category selection indicator */
.service-category-group.selected {
    border-color: var(--success-color);
    background: linear-gradient(135deg, #f8fff9, #f0fff4);
}

.service-category-group.selected .category-header {
    border-bottom-color: var(--success-color);
}

/* Service checkbox focus states */
.service-checkboxes .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

/* Loading state for service categories */
.service-categories-loading {
    opacity: 0.6;
    pointer-events: none;
}

.service-categories-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
} 

/* Enhanced service category styling */
.service-category-group {
    position: relative;
    overflow: hidden;
}

.service-category-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-category-group:hover::before {
    left: 100%;
}

.service-category-group.selected::before {
    background: linear-gradient(90deg, transparent, rgba(25, 135, 84, 0.1), transparent);
}

/* Service checkbox enhancement */
.service-checkboxes .form-check {
    position: relative;
    overflow: hidden;
}

.service-checkboxes .form-check::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.05), transparent);
    transition: left 0.3s ease;
}

.service-checkboxes .form-check:hover::after {
    left: 100%;
}

.service-checkboxes .form-check-input:checked + .form-check-label::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: bold;
    animation: checkmarkAppear 0.3s ease-in-out;
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Category header enhancement */
.category-header {
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-category-group:hover .category-header::after {
    width: 100%;
}

.service-category-group.selected .category-header::after {
    background: var(--success-color);
    width: 100%;
}

/* Subcategory title enhancement */
.subcategory-title {
    position: relative;
    overflow: hidden;
}

.subcategory-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.subcategory-group:hover .subcategory-title::before {
    transform: translateX(0);
}

/* Toggle button enhancement */
.toggle-subcategories {
    position: relative;
    overflow: hidden;
}

.toggle-subcategories::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.toggle-subcategories:hover::before {
    width: 100%;
    height: 100%;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .service-category-group::before,
    .service-checkboxes .form-check::after {
        display: none;
    }
    
    .service-checkboxes .form-check-input:checked + .form-check-label::before {
        display: none;
    }
    
    .category-header::after,
    .subcategory-title::before {
        display: none;
    }
}

/* Print-friendly styles */
@media print {
    .service-categories-container {
        background: white !important;
        border: 1px solid #000 !important;
    }
    
    .service-category-group {
        break-inside: avoid;
        border: 1px solid #000 !important;
        background: white !important;
    }
    
    .subcategories-container {
        background: white !important;
        border: 1px solid #ccc !important;
    }
    
    .service-checkboxes .form-check {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        background: white !important;
    }
} 

/* Enhanced Service Categories Styles for Better Responsiveness */
.service-categories-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.service-category-group {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-category-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.category-header .form-check {
    margin: 0;
    flex: 1;
}

.category-header .form-check-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.category-header .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #6c757d;
    border-radius: 4px;
}

.category-header .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.toggle-subcategories {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.toggle-subcategories:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.subcategories-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

.subcategory-group {
    margin-bottom: 20px;
}

.subcategory-group:last-child {
    margin-bottom: 0;
}

.subcategory-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.subcategory-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.subcategory-group:hover .subcategory-title::after {
    width: 100px;
}

.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.service-checkboxes .form-check {
    margin: 0;
    padding: 10px 12px 10px 35px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.service-checkboxes .form-check:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-checkboxes .form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #6c757d;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.service-checkboxes .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    animation: checkmark 0.2s ease-in-out;
}

.service-checkboxes .form-check-label {
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.service-checkboxes .form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 500;
}

.category-checkbox:checked + .form-check-label {
    color: var(--primary-color);
}

.category-checkbox:checked + .form-check-label i {
    color: var(--primary-color);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .service-checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .service-categories-container {
        padding: 15px;
    }
    
    .service-category-group {
        padding: 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-subcategories {
        align-self: flex-end;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .service-checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 6px;
    }
    
    .service-checkboxes .form-check {
        padding: 8px 10px 8px 28px;
        min-height: 40px;
    }
    
    .service-checkboxes .form-check-input {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .service-checkboxes .form-check-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .service-categories-container {
        padding: 12px;
        border-radius: 8px;
    }
    
    .service-category-group {
        padding: 12px;
        border-radius: 8px;
    }
    
    .category-header .form-check-label {
        font-size: 1rem;
    }
    
    .toggle-subcategories {
        font-size: 0.8rem;
        padding: 5px 10px;
        width: 100%;
        justify-content: center;
    }
    
    .subcategories-container {
        padding: 12px;
        margin-top: 12px;
    }
    
    .service-checkboxes {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .service-checkboxes .form-check {
        padding: 10px 12px 10px 35px;
        min-height: 44px;
        border-radius: 4px;
    }
    
    .service-checkboxes .form-check-input {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .service-checkboxes .form-check-label {
        font-size: 0.95rem;
    }
    
    .subcategory-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .service-categories-container {
        padding: 10px;
        border-radius: 6px;
    }
    
    .service-category-group {
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    
    .category-header .form-check-label {
        font-size: 0.95rem;
    }
    
    .category-header .form-check-input {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
    
    .toggle-subcategories {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .subcategories-container {
        padding: 10px;
        margin-top: 10px;
    }
    
    .service-checkboxes .form-check {
        padding: 8px 10px 8px 28px;
        min-height: 40px;
    }
    
    .service-checkboxes .form-check-input {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .service-checkboxes .form-check-label {
        font-size: 0.9rem;
    }
    
    .subcategory-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

/* Enhanced Checkbox Visibility */
.service-checkboxes .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes checkmark {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Focus states for accessibility */
.service-checkboxes .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

.category-header .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

/* Touch-friendly sizing for mobile */
@media (max-width: 768px) {
    .service-checkboxes .form-check-input,
    .category-header .form-check-input {
        min-width: 20px;
        min-height: 20px;
        margin-right: 10px;
    }
    
    .service-checkboxes .form-check {
        min-height: 48px;
        padding: 12px 15px 12px 35px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-checkboxes .form-check-input {
        border-width: 3px;
    }
    
    .service-checkboxes .form-check-input:checked {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-category-group,
    .service-checkboxes .form-check,
    .toggle-subcategories,
    .subcategories-container {
        transition: none;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    @keyframes checkmark {
        from {
            transform: scale(1);
        }
        to {
            transform: scale(1);
        }
    }
}

/* Print styles */
@media print {
    .service-categories-container {
        background: white;
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .service-category-group {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
    
    .subcategories-container {
        background: white;
        border: 1px solid #ccc;
    }
    
    .service-checkboxes .form-check {
        border: 1px solid #ccc;
        break-inside: avoid;
        padding: 8px 12px 8px 25px;
    }
    
    .toggle-subcategories {
        display: none;
    }
    
    .subcategories-container {
        display: block !important;
    }
} 

/* Gallery Counter Styles */
.gallery-counter {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.gallery-counter small {
    font-weight: 500;
}

#gallery-count {
    font-weight: bold;
    color: #007bff;
}

/* Gallery Preview Container Styles */
#gallery-preview-container .col-md-3,
#gallery-preview-container .col-sm-4,
#gallery-preview-container .col-6 {
    margin-bottom: 15px;
}

#gallery-preview-container .position-relative {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#gallery-preview-container .btn-outline-danger {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #dc3545;
    font-size: 0.75rem;
    padding: 2px 6px;
    margin: 4px;
}

#gallery-preview-container .btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

/* Gallery Empty State */
#gallery-preview-container .text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Gallery Responsive Adjustments */
@media (max-width: 768px) {
    #gallery-preview-container .col-md-3,
    #gallery-preview-container .col-sm-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #gallery-preview-container .col-md-3,
    #gallery-preview-container .col-sm-4,
    #gallery-preview-container .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .gallery-counter {
        padding: 6px 10px;
    }
} 

/* Product brochure field styling */
.hivepress-vendor-form-container .product-table input[type="file"][accept=".pdf"] {
    border: 2px dashed var(--border-color);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.hivepress-vendor-form-container .product-table input[type="file"][accept=".pdf"]:hover {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.hivepress-vendor-form-container .product-table input[type="file"][accept=".pdf"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.hivepress-vendor-form-container .product-table .form-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.hivepress-vendor-form-container .product-table .uploaded-file-info {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-top: 0.25rem;
}

.hivepress-vendor-form-container .product-table .uploaded-file-info small {
    color: #0d6efd;
    font-weight: 500;
}

.hivepress-vendor-form-container .product-table .uploaded-file-info .fa-file-pdf {
    color: #dc3545;
}

@media (max-width: 768px) {
    .hivepress-vendor-form-container .product-table input[type="file"][accept=".pdf"] {
        font-size: 0.875rem;
    }
    
    .hivepress-vendor-form-container .product-table .form-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .hivepress-vendor-form-container .product-table input[type="file"][accept=".pdf"] {
        font-size: 0.8rem;
    }
    
    .hivepress-vendor-form-container .product-table .uploaded-file-info {
        padding: 0.2rem 0.4rem;
    }
}

/* Vendor Registration Submission Container Styles */
.vendor-registration-submission-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vendor-registration-submission-container .container {
    max-width: 800px;
    margin: 0 auto;
}

.vendor-registration-submission-container .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-registration-submission-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vendor-registration-submission-container .card-body {
    padding: 3rem 2rem;
    text-align: center;
}

.vendor-registration-submission-container .fas {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.vendor-registration-submission-container .fa-check-circle {
    color: #28a745;
    animation: pulse 2s infinite;
}

.vendor-registration-submission-container .fa-times-circle {
    color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

.vendor-registration-submission-container .fa-clock {
    color: rgb(51 52 122) !important;
    animation: rotate 2s linear infinite;
}

.vendor-registration-submission-container h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vendor-registration-submission-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #6c757d;
}
.vendor-registration-submission-container p.text-warning {
    color: rgb(51 52 122) !important;
}

.vendor-registration-submission-container .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vendor-registration-submission-container .btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.vendor-registration-submission-container .btn-success:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.vendor-registration-submission-container .btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    border: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.vendor-registration-submission-container .btn-secondary:hover {
    background: linear-gradient(45deg, #495057, #6c757d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .vendor-registration-submission-container {
        padding: 1rem 0;
    }
    
    .vendor-registration-submission-container .card-body {
        padding: 2rem 1.5rem;
    }
    
    .vendor-registration-submission-container h3 {
        font-size: 1.5rem;
    }
    
    .vendor-registration-submission-container p {
        font-size: 1rem;
    }
    
    .vendor-registration-submission-container .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .vendor-registration-submission-container .card-body {
        padding: 1.5rem 1rem;
    }
    
    .vendor-registration-submission-container h3 {
        font-size: 1.3rem;
    }
    
    .vendor-registration-submission-container .fas {
        font-size: 2rem !important;
    }
}

/* Standalone Product Brochure Section Styling */
.hivepress-vendor-form-container .mb-4 h5 i.fa-file-pdf {
    color: #dc3545;
}

.hivepress-vendor-form-container .mb-4 .input-group input[type="file"][accept=".pdf"] {
    border: 2px dashed #dee2e6;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.hivepress-vendor-form-container .mb-4 .input-group input[type="file"][accept=".pdf"]:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.hivepress-vendor-form-container .mb-4 .input-group input[type="file"][accept=".pdf"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.hivepress-vendor-form-container .mb-4 .input-group .btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.hivepress-vendor-form-container .mb-4 .input-group .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.hivepress-vendor-form-container .mb-4 .uploaded-file-info {
    margin-top: 0.5rem;
}

.hivepress-vendor-form-container .mb-4 .uploaded-file-info .alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #0d6efd;
}

.hivepress-vendor-form-container .mb-4 .uploaded-file-info .fa-file-pdf {
    color: #dc3545;
}

@media (max-width: 768px) {
    .hivepress-vendor-form-container .mb-4 .input-group input[type="file"][accept=".pdf"] {
        font-size: 0.875rem;
    }
    
    .hivepress-vendor-form-container .mb-4 .form-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hivepress-vendor-form-container .mb-4 .input-group input[type="file"][accept=".pdf"] {
        font-size: 0.8rem;
    }
    
    .hivepress-vendor-form-container .mb-4 .uploaded-file-info .alert {
        padding: 0.5rem;
    }
} 

/* GST Field Disabled State Styles */
.hivepress-vendor-form-container input[disabled],
.hivepress-vendor-form-container input[disabled]:focus {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.hivepress-vendor-form-container input[disabled]::placeholder {
    color: #adb5bd !important;
}

.hivepress-vendor-form-container .file-upload-wrapper input[disabled] + .file-upload-label {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
} 