/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
  background: linear-gradient(90deg,rgba(227, 201, 107, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(227, 200, 125, 1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  color: #2c3e50;
}

#sbi-logo {
  width: 240px;
  margin-bottom: 10px;
}

.container {
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tab-buttons button {
  padding: 10px 16px;
  border: none;
  border-radius: 50px;
  background: #e0e0e0;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-buttons button:hover,
.tab-buttons button:focus {
  background: #D4AF37;
  color: white;
  transform: scale(1.05);
}

.tab {
  display: none;
  text-align: left;
  animation: fadeIn 0.6s ease-in-out;
}

.tab.active {
  display: block;
}

.tab input,
.tab select {
  width: 100%;
  padding: 12px;
  margin: 10px 0 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background: #f9f9f9;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: #a9a9a9;
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 10px;
  cursor: pointer;
}

button:hover {
  background: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.3);
}

#card-preview {
  margin-top: 10px;
  text-align: center;
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 12px;
}

#card-image {
  max-width: 100%;
  border-radius: 8px;
}

#payment-animation,
#payment-complete {
  text-align: center;
  margin-top: 20px;
}

#payment-animation img,
#payment-complete img {
  width: 80px;
  margin-bottom: 10px;
}

/* Responsive Typography & Layout */
@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  button {
    font-size: 15px;
  }

  .tab-buttons button {
    flex: 1 1 45%;
    font-size: 14px;
  }

  #sbi-logo {
    width: 100px;
  }
}
