/* DevProvider Services Plugin CSS - Exact React App Replica */

/* Reset and base styles */
.devprovider-app {
  font-family: var(--e-global-typography-b848856-font-family), nunito!important;
  line-height: 1.6;
  color: #374151;
  background-color: #f9fafb;
  min-height: 100vh;
}

.devprovider-app * {
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,p{
	font-family:var(--e-global-typography-b848856-font-family), nunito !important;
}
/* Header Styles */
.devprovider-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.logo-text {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #111827;
}

.get-started-btn {
  background: #111827;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.get-started-btn:hover {
  background: #1f2937;
}

/* Main Container */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}

/* Hero Section */
.hero-section {
  margin-bottom: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ea580c;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-icon {
  font-size: 0.875rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-highlight {
  color: #2563eb;
}

.hero-description {
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Offer Banner */
.offer-banner {
  background: linear-gradient(to right, #fef3c7, #fecaca);
  border: 1px solid #fed7aa;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.offer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-info {
  flex: 1;
}

.offer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.offer-icon {
  color: #ea580c;
}

.offer-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.offer-btn.claimed {
  background: #059669;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.offer-btn.claimed:hover {
  background: #047857;
}

.offer-btn.claimed {
  background: #059669;
}

/* Services Section */
.services-section {
  margin-bottom: 2rem;
}

.services-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Service Card */
.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #3b82f6;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.service-main-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.service-icon-wrapper {
  flex-shrink: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
  color: #6b7280;
  transition: all 0.2s;
}

.service-card.selected .service-icon {
  background: #dbeafe;
  color: #2563eb;
}

.service-details {
  flex: 1;
  min-width: 0;
}

.service-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.service-name {
  font-weight: 600;
  color: #111827;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.service-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.badge-purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.badge-orange {
  background: #fed7aa;
  color: #ea580c;
}

.badge-blue {
  background: #dbeafe;
  color: #2563eb;
}

.badge-red {
  background: #fecaca;
  color: #dc2626;
}

.service-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.service-price-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.service-price {
  font-weight: bold;
  font-size: 1.25rem;
  color: #111827;
  margin-right: 5px;
/*   line-height: 1; */
}

.service-meta {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: right;
  line-height: 1.3;
}

.senior-developer-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.senior-developer-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: #3b82f6;
}

.senior-label {
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.3;
}

.premium-price {
  color: #ea580c;
  font-weight: 600;
}

/* Service Toggle */
.service-toggle {
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 0.5rem;
}

.service-toggle.active {
  background: #3b82f6;
}

.toggle-handle {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-toggle.active .toggle-handle {
  transform: translateX(20px);
}

/* Service Expanded Content */
.service-expanded {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.service-expanded.hidden {
  display: none;
}

.expanded-section {
  margin-bottom: 1.5rem;
}

.expanded-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 0.25rem;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
}

/* Everything Included Grid */
.everything-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.everything-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  padding: 0.5rem;
  background: #eff6ff;
  border-radius: 0.25rem;
  border: 1px solid #dbeafe;
}

.item-icon {
  font-size: 1rem;
}

.item-text {
  font-weight: 500;
}

/* Limited Time Offer Notice */
.limited-offer-notice {
  background: #fef3c7;
  border: 1px solid #fed7aa;
  border-radius: 0.375rem;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.offer-badge-small {
  font-size: 0.875rem;
  color: #92400e;
  font-weight: 600;
}

.offer-details {
  font-size: 0.75rem;
  color: #b45309;
}

/* Technology Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #374151;
  background: white;
}

.tech-icon {
  font-size: 1rem;
}

/* Sliders */
.slider-section {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slider-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.info-tooltip {
  font-size: 1rem;
  color: #9ca3af;
  cursor: help;
}

.slider-container {
  padding: 0.5rem 0;
}

.custom-slider {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-progress {
  height: 100%;
  background: #3b82f6;
  border-radius: 3px;
  transition: width 0.2s;
}

.slider-thumb {
  position: absolute;
  top: -6px;
  width: 18px;
  height: 18px;
  background: #3b82f6;
  border: 2px solid white;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: left 0.2s;
}

.slider-thumb:active {
  cursor: grabbing;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.slider-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.label-dot {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  border-radius: 50%;
  margin-bottom: 0.25rem;
  transition: background-color 0.2s;
}

.slider-label.active .label-dot {
  background: #3b82f6;
}

.slider-label span {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.2;
  transition: color 0.2s;
}

.slider-label.active span {
  color: #3b82f6;
  font-weight: 600;
}

.discount-tag {
  position: absolute;
  top: 100%;
  margin-top: 0.25rem;
  background: #dcfce7;
  color: #166534;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  white-space: nowrap;
}

.slider-value {
  text-align: center;
  margin-top: 0.5rem;
}
.duration-slider-section .slider-value {
  text-align: center;
  margin-top: 2.5rem!important;
}
.developers-value,
.duration-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
}

.duration-discount {
  background: #dcfce7;
  color: #166534;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

.duration-discount.hidden {
  display: none;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.card-icon {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.card-header-text {
  flex: 1;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.card-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
}

/* Contact Form */
.contact-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db!important;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.timezone-input {
  background: #f9fafb !important;
  color: #6b7280;
}

.form-help {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
  line-height: 1.4;
}

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

/* File Upload */
.file-upload-area {
  position: relative;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  overflow: hidden;
  background: white;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.upload-button {
  background: #eff6ff;
  color: #2563eb;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-right: 1px solid #d1d5db;
}

.upload-text {
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  flex: 1;
}

/* Form Message */
.form-message {
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-message.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.form-message.hidden {
  display: none;
}

/* Project Summary */
.summary-content {
  padding: 1.5rem;
}

.summary-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.stat-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.summary-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1rem 0;
}

.total-section {
  margin-bottom: 1.5rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.total-label {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}

.total-amount {
  font-size: 2rem;
  font-weight: bold;
  color: #2563eb;
  line-height: 1;
}

.payment-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.summary-content .submit-btn {
  width: 100%;
  background: #111827;
  color: white;
  border: none;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 1rem;
}

.submit-btn:hover:not(:disabled) {
  background: #1f2937;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.guarantees {
	margin-top:15px;
  text-align: center;
}

.card-header-text.slected-service {
    display: flex;
    justify-content: space-between;
}

.selected-service-info {
    justify-content: space-between;
    display: contents;
}

span.service-header.devprovider-services-count {
    position: relative;
    bottom: 12px;
    right: 12px;
}

.devprovider-selected-service-icon {
    display: flex;
    font-size: 20px;
}
.guarantees p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0.25rem 0;
  line-height: 1.4;
}

/* Selected Services */
.selected-services-content {
  padding: 1.5rem;
}

.selected-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
}

.selected-service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.selected-service-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.selected-service-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
}

.selected-service-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  border-radius: 0.25rem;
  color: #2563eb;
  font-size: 1rem;
  flex-shrink: 0;
}

.selected-service-details {
  flex: 1;
  min-width: 0;
}

.selected-service-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.selected-service-meta {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
}

.selected-service-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    order: -1;
  }

  .everything-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .offer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .service-header {
    flex-direction: column;
    gap: 1rem;
  }

  .service-price-controls {
    align-items: flex-start;
    width: 100%;
  }

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

  .everything-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .slider-labels {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .service-main-info {
    flex-direction: column;
    gap: 0.75rem;
  }

  .service-icon-wrapper {
    align-self: flex-start;
  }

  .content-grid {
	  display:block;
    gap: 1.5rem;
  }

  .card-header {
    padding: 1rem 1rem 0 1rem;
  }

  .contact-form,
  .summary-content,
  .selected-services-content {
    padding: 1rem;
  }
}

/* Loading States */
.submit-btn:disabled {
  position: relative;
}

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Focus Styles for Accessibility */
.service-card:focus,
.service-toggle:focus,
.slider-thumb:focus,
.slider-label:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .devprovider-header,
  .offer-banner,
  .service-toggle,
  .submit-btn {
    display: none;
  }

  .service-card {
    break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card {
    border-width: 2px;
  }

  .service-toggle {
    border: 2px solid #374151;
  }

  .form-input,
  .form-textarea {
    border-width: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
