/* Nimwema Platform - Send Voucher Specific Styles */

/* Currencies Selector */

.currency-selector-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.currency-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-input);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-btn:hover {
  border-color: var(--primary-green);
  background: rgba(139, 195, 74, 0.05);
}

.currency-btn.active {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: var(--ink-black);
}

.currency-symbol {
  font-size: 28px;
  font-weight: 700;
}

.currency-name {
  font-size: 16px;
  font-weight: 600;
}

.exchange-rate-display {
  text-align: center;
  padding: var(--space-md);
  background: var(--paper);
  border-radius: var(--radius-input);
  font-size: 14px;
  color: var(--grey-700);
}

.exchange-rate-display strong {
  color: var(--ink-black);
  margin-left: var(--space-xs);
}

/* Amount Preset Grid */
.amount-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.amount-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-md);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-input);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.amount-preset-btn:hover {
  border-color: var(--primary-green);
  background: rgba(139, 195, 74, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.amount-preset-btn.selected {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: var(--ink-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.amount-primary {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.amount-secondary {
  font-size: 12px;
  color: var(--grey-700);
}

.amount-preset-btn.selected .amount-secondary {
  color: var(--ink-black);
}

/* Amount Input Group */
.amount-input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.amount-currency {
  position: absolute;
  left: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-700);
  pointer-events: none;
}

.amount-input {
  padding-left: 45px !important;
  font-size: 18px;
  font-weight: 600;
}

.amount-equivalent {
  position: absolute;
  right: 16px;
  font-size: 14px;
  color: var(--grey-700);
  pointer-events: none;
}

/* Total Amount Display */
.total-amount-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background: var(--paper);
  border-radius: var(--radius-input);
  margin-top: var(--space-md);
}

.total-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-700);
}

.total-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

/* Recipient Fields */
.recipient-field {
  padding: var(--space-lg);
  background: var(--paper);
  border-radius: var(--radius-input);
  margin-bottom: var(--space-md);
}

/* Waiting List Items */
.waiting-list-item {
  padding: var(--space-md);
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-input);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-fast);
}

.waiting-list-item:hover {
  border-color: var(--primary-green);
  background: rgba(139, 195, 74, 0.02);
}

.waiting-list-checkbox:checked ~ .waiting-list-info {
  color: var(--primary-green);
}

.waiting-list-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.waiting-list-info strong {
  font-size: 16px;
  color: var(--ink-black);
}

.waiting-list-info span {
  font-size: 14px;
  color: var(--grey-700);
}

.waiting-list-info small {
  font-size: 13px;
  color: var(--grey-700);
  font-style: italic;
}

/* Fee Breakdown */
.fee-breakdown {
  background: var(--paper);
  padding: var(--space-lg);
  border-radius: var(--radius-input);
  margin-bottom: var(--space-md);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: 15px;
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row span:first-child {
  color: var(--grey-700);
}

.fee-row span:last-child {
  font-weight: 600;
  color: var(--ink-black);
}

.fee-total {
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 2px solid var(--ink-black) !important;
  font-size: 18px;
}

.fee-total span {
  font-weight: 700;
  color: var(--ink-black);
}

.fee-total span:last-child {
  color: var(--primary-green);
  font-size: 20px;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.payment-method-card {
  display: block;
  cursor: pointer;
}

.payment-method-card input[type="radio"] {
  display: none;
}

.payment-method-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-input);
  background: var(--white);
  transition: all var(--transition-fast);
  text-align: center;
}

.payment-method-card:hover .payment-method-content {
  border-color: var(--primary-green);
  background: rgba(139, 195, 74, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.payment-method-card input[type="radio"]:checked + .payment-method-content {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: var(--ink-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.payment-method-icon {
  font-size: 32px;
}

.payment-method-name {
  font-size: 16px;
  font-weight: 700;
}

.payment-method-desc {
  font-size: 13px;
  color: var(--grey-700);
}

.payment-method-card input[type="radio"]:checked + .payment-method-content .payment-method-desc {
  color: var(--ink-black);
}

/* Responsive */
@media (max-width: 768px) {
  .amount-preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .currency-selector-group {
    grid-template-columns: 1fr;
  }
}