.centered-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.credit-codes-form {
  margin-top: 30px;
}

.recipient {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  align-items: center;
}

.recipient label {
  flex: 0 0 auto;
  padding-right: 5px;
}

.recipient input {
  flex: 1;
  min-width: 150px;
}

.membership-type {
  margin-top: 20px;
}

.membership-type label {
  display: block;
  margin-bottom: 10px;
}

.input-group {
  flex: 1;
  max-width: 45%;
}

.input-group label {
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 0 !important;
}

.remove-recipient {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background-color: #ff4d4d;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.remove-recipient:hover {
  background-color: #ff3333;
}

#addRecipient {
  margin-bottom: 20px;
}

.error-message {
  color: #ff0000;
  background-color: #ffeeee;
  border: 1px solid #ff0000;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.recipients-header {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.recipients-header .input-group {
  flex: 1;
}

.recipient .input-group label {
  display: none;
}

.success-message {
  color: #4CAF50;
  background-color: #E8F5E9;
  border: 1px solid #4CAF50;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.summary-box {
  display: flex;
  justify-content: space-between;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.summary-left {
  text-align: left;
}

.summary-right {
  text-align: right;
}

.summary-box p {
  margin: 3px 0;
}

.button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 90%;
}

.button:hover {
  background-color: #45a049;
}

#card-element {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.checkout-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 10vh;
  padding: 40px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px #ddd;
  background-color: #fff;
}

.checkout-summary,
.checkout-payment {
  flex: 1;
}

.checkout-summary {
  max-width: 400px;
  text-align: right;
}

.checkout-payment {
  max-width: 500px;
}

.checkout-divider {
  width: 1px;
  background-color: #ddd;
  margin: 0 20px;
}

.total {
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .checkout-container {
    flex-direction: column;
  }
  .checkout-summary,
  .checkout-payment {
    max-width: 100%;
    text-align: left;
  }
  .checkout-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
  }
}
.checkout-summary h1,
.checkout-payment h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.success-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.success-content {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.success-icon {
  font-size: 48px;
  color: #4CAF50;
  margin: 30px;
}

.success-message {
  font-size: 18px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.success-content p {
  margin-bottom: 30px;
}

.success-content .button {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.success-content .button:hover {
  background-color: #45a049;
}

.credit-codes-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.recipients-section {
  flex: 2;
  max-width: 60%;
}

.membership-section {
  flex: 1;
  max-width: 35%;
}

.checkout-divider {
  width: 1px;
  background-color: #ddd;
  margin: 0 20px;
}

.recipients-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.recipient {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.input-group {
  flex: 1;
}

.input-group input {
  width: 95%;
}

#addRecipient {
  margin-top: 10px;
}

.membership-type {
  margin-bottom: 20px;
}

.membership-type label {
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .credit-codes-container {
    flex-direction: column;
  }
  .recipients-section,
  .membership-section {
    max-width: 100%;
  }
  .checkout-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
  }
}
#user-nav .btn-group {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#user-nav .btn-inverse {
  background-color: #333;
  border: 1px solid #444;
  margin-right: 5px;
}

#user-nav .btn-inverse a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
}

#user-nav .btn-inverse:hover {
  background-color: #444;
}

#user-nav .btn-inverse:hover a {
  color: #fff;
}