/** @format */

.container-payment {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.checkout-payment-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.checkout-order-summary {
  background: #442c26;
  padding: 40px;
  color: white;
}

.checkout-order-summary h2 {
  font-size: 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-order-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.checkout-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

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

.checkout-item-price {
  font-weight: 700;
  font-size: 18px;
}

.checkout-item-quantity {
  font-size: 14px;
  opacity: 0.9;
}

.checkout-order-total {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-top: 20px;
  padding-top: 20px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}

.checkout-grand-total {
  font-size: 24px;
  font-weight: 700;
  margin-top: 15px;
}

.checkout-payment-form {
  padding: 40px;
}

.checkout-payment-form h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 30px;
}

.checkout-form-group {
  margin-bottom: 20px;
}

.checkout-form-group label {
  display: block;
  color: #555;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.checkout-form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
}

.checkout-form-group input:focus {
  outline: none;
  border-color: #f5cb4b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.checkout-card-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.checkout-payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.checkout-payment-method {
  flex: 1;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  font-weight: 600;
  color: #666;
}

.checkout-payment-method:hover {
  border-color: #f5cb4b;
  background: #fff5f5;
}

.checkout-payment-method.active {
  border-color: #f5cb4b;
  background: #f5cb4b;
  color: white;
}

.checkout-submit-btn {
  width: 100%;
  padding: 15px;
  background: #f5cb4b;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.checkout-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.checkout-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #888;
  font-size: 13px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .checkout-payment-wrapper {
    grid-template-columns: 1fr;
  }

  .checkout-order-summary {
    padding: 30px;
  }

  .checkout-payment-form {
    padding: 30px;
  }
}
