/* Payment Gateway App CSS */

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Card Payment Form */
#card-form {
  display: none;
  padding: 20px;
  background: white;
  border-radius: 10px;
  margin-top: 20px;
}

.card-input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
}

.card-input:focus {
  outline: none;
  border-color: #667eea;
}

.card-row {
  display: flex;
  gap: 15px;
}

.card-row .card-input {
  flex: 1;
}

/* QR Payment Form */
#qr-form {
  display: none;
  padding: 20px;
  background: white;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
}

.qr-code {
  width: 250px;
  height: 250px;
  background: #f5f5f5;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
}

#qr-timer {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  margin-top: 15px;
}

/* Payment Method Selection */
.payment-methods {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.payment-method {
  flex: 1;
  padding: 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.payment-method:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-method.active {
  border-color: #667eea;
  background: #f0f9ff;
}

/* Buttons */
.btn-primary {
  background: #667eea;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #764ba2;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}
