* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

        .container {
  max-width: 800px;
  margin: 0 auto;
/*   padding: 2rem; */
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
   background:linear-gradient(135deg, #87CEEB, #4682B4);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
/*     font-family: inherit; */
	}

.preview-section {
/*   padding: 2rem 0; */
  text-align: center;
}

.preview-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.receipt-preview {
  max-width: 700px;
  margin: 0 auto 2rem;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.receipt-container {
  width: 100%;
  background: #fff;
}

.receipt-header {
  background-color: #7B2D8E;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

.receipt-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

.receipt-body {
  display: flex;
  min-height: 500px;
}

.receipt-sidebar {
  width: 100px;
  background-color: #F4C542;
}

.receipt-content {
  flex: 1;
  padding: 2rem;
}

.company-info {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.driver-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.info-label {
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
}

.info-value {
  color: #666;
}

.section-title {
  color: #7B2D8E;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.passenger-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.trip-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.payment-section {
  border-top: 2px solid #eee;
  padding-top: 1.5rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-method-badge {
  background-color: #e0e0e0;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #666;
}

.fare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-section {
  background-color: #7B2D8E;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
}

.download-btn {
  background:linear-gradient(135deg, #87CEEB, #4682B4);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  background-color: #6FB5D6;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.download-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  header h1 {
    font-size:35px;
  }

  .receipt-preview {
    margin: 0 0 2rem;
  }
	.e-con{
		padding:6px;
	}

  .receipt-body {
    flex-direction: column;
  }

  .receipt-sidebar {
    width: 100%;
    height: 50px;
  }

  .receipt-content {
    padding: 1.5rem;
  }

  .driver-info,
  .passenger-details,
  .trip-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .receipt-header h1 {
    font-size: 1.5rem;
  }

  .download-btn {
    width: 100%;
    padding: 0.875rem;
  }
}

@media (max-width: 480px) {
  .receipt-content {
    padding: 1rem;
  }

  .app-header h1 {
    font-size: 1.25rem;
  }

  .receipt-header h1 {
    font-size: 1.25rem;
  }
}
