/* Main page containers */
.giftHubPage {
  min-height: 100vh;
  background-color: #2f2464;
  display: flex;
  flex-direction: column;
}

.giftHubPage main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 20px;
}

.contentWrapper {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.contributionContainer {
  background-color: #352b63;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contributionHeader {
  text-align: center;
  margin-bottom: 24px;
}

.eventName {
  color: white;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.contributionLabel {
  color: white;
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
}

/* Amount selection grid */
.amountsGrid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.amountRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amountButton {
  background-color: #443975;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 48px;
}

.amountButton:hover {
  background-color: #504286;
}

.amountButton.selected {
  background-color: #5c4e9a;
  font-weight: bold;
}

.customAmountContainer {
  margin-bottom: 24px;
  width: 100%;
}

.customAmountInput {
  width: 100%;
  padding: 12px 16px;
  border-radius: 20px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  min-height: 48px;
  box-sizing: border-box;
}

.customAmountInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.customAmountInput:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Action buttons */
.actionButtons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.wishlistButton, .payButton {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlistButton {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.wishlistButton:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.payButton {
  background-color: #5c4e9a;
  color: white;
}

.payButton:hover {
  background-color: #6a5ab0;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .contributionContainer {
    padding: 20px;
  }
  
  .amountRow {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .actionButtons {
    flex-direction: column;
  }
  
  .wishlistButton, .payButton {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contributionContainer {
    padding: 16px;
  }
  
  .amountRow {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .amountButton {
    font-size: 14px;
    padding: 10px 0;
  }
  
  .customAmountInput {
    padding: 10px 14px;
  }
}