/* Original Rate Calculator Styles - Restored from commit 0798cbc */



/* Hide number spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
input[type=number] { 
  -moz-appearance: textfield; 
  appearance: textfield;
}

/* Container */
.converter-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
  color: #797d79;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.section-title {
  font-size: 36px;
  color: #1e3a5f;
  font-weight: 700;
  line-height: 1.3;
}

.section-title .highlight {
  color: #f7931a;
}

/* Info Banner */
.info-banner {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left: 4px solid #4caf50;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
}

.info-banner .icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-banner p {
  color: #2e7d32;
  font-size: 14px;
  line-height: 1.6;
}

/* Converter Card */
.converter-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 1000px;
  margin: 0 auto;
}  

/* Form Groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  transition: all 0.3s ease;
  background: white;
}

.input-field:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.input-field:disabled {
  background: #f9f9f9;
  cursor: not-allowed;
}

.dollar-prefix {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #666;
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}

.input-with-prefix {
  padding-left: 45px !important;
}

/* Dropdown Container */
.dropdown-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  transition: all 0.3s ease;
}

.dropdown-container:hover {
  border-color: #4caf50;
}

.crypto-iconn {
  font-size: 24px;
  flex-shrink: 0;
}

.select-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  cursor: pointer;
  outline: none;
  padding: 0;
}

/* Result Box */
.result-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: 2px solid #e0e7ef;
}

.result-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-amount {
  font-size: 42px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 15px;
}

.result-currency {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Exchange Rate Display */
.exchange-rate-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px dashed #2196f3;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.exchange-rate-text {
  color: #1976d2;
  font-weight: 600;
  font-size: 16px;
  flex: 1;
  min-width: 200px;
}

.refresh-btn {
  background: #2196f3;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.refresh-btn:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  color: white;
  text-decoration: none;
}

.how-it-works {
  color: #666;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.how-it-works:hover {
  color: #4caf50;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .converter-card {
    padding: 25px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .result-amount {
    font-size: 32px;
  }

  .exchange-rate-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #4caf50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}