/* BuySell.css */

.buy-sell-row {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  background: white;
  margin-left: 10px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.buy-sell-row:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Feature icons styling */
.feature-icon-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.feature-icon-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #fdba74;
}

.feature-icon {
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-icon-container:hover .feature-icon {
  transform: scale(1.05);
}

/* Form input enhancements */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: translateY(-1px);
}

/* Button animations */
.btn-primary-custom {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.btn-secondary-custom {
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  transform: translateY(-1px);
  border-color: #f97316;
}

/* Hide spinners in Chrome, Safari, and Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide spinners in Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.loading-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .buy-sell-row {
    margin-left: 5px;
    margin-right: 5px;
    padding: 20px 15px !important;
  }
  
  .feature-icon-container {
    padding: 15px;
  }
  
  .feature-icon {
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  .buy-sell-row {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
  }
  
  .feature-icon-container {
    padding: 12px;
  }
  
  .feature-icon {
    max-height: 40px;
  }
}

/* Captcha container styling */
.captcha-container {
  background: white;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #e2e8f0;
}

/* Error message styling */
.error-message {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Success state */
.success-state {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}


/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .buy-sell-row {
    background: #1e293b;
    border-color: #334155;
  }
  
  .feature-icon-container {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-color: #475569;
  }
}

/* Print styles */
@media print {
  .buy-sell-row {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    background: #000 !important;
    color: #fff !important;
  }
}