.wp-gift-order-form-wrapper {
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  display: block;
  justify-content: space-between;
}
.wp-gift-order-form-title {
    margin-bottom: 0px;
    text-align: left;
}

.wp-gift-order-form-title h2 {
    margin-top: 0;
    color: #333;
}

.wp-gift-order-form {
  display: flex;
  gap: 15px;
  align-items: center;
}
.wp-gift-order-form-row {
    display: flex;
    gap: 15px;
	align-items: center;
}

.wp-gift-order-form-field {
    flex: 1;
    min-width: 100px;
}

.wp-gift-order-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wp-gift-order-form-field select,
.wp-gift-order-form-field input[type="number"] {
    padding: 12px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.wp-gift-order-form-field select {
  width: 100%;
  background-color: #fff;
}
.wp-gift-order-form-field input[type="number"] {
  width: 100%;
  max-width: 100px;
}
.wp-gift-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #e7f4f9;
    border: 1px solid #c5e1ea;
    border-radius: 4px;
}

.wp-gift-order-total-label {
    font-weight: bold;
    font-size: 16px;
}

.wp-gift-order-total-amount {
    font-weight: bold;
    font-size: 18px;
    color: #0073aa;
}

.wp-gift-order-form-submit {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.wp-gift-order-submit-btn {
    padding: 12px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wp-gift-order-submit-btn:hover {
    background-color: #005d87;
}

.wp-gift-order-message {
    padding: 0;
}

.wp-gift-order-success {
    padding: 10px;
    background-color: #dff2bf;
    color: #4f8a10;
    border: 1px solid #4f8a10;
    border-radius: 4px;
}

.wp-gift-order-error {
    padding: 10px;
    background-color: #ffbaba;
    color: #d8000c;
    border: 1px solid #d8000c;
    border-radius: 4px;
}

.wp-gift-order-loading {
    padding: 10px;
    background-color: #e5f3ff;
    color: #0073aa;
    border: 1px solid #0073aa;
    border-radius: 4px;
}

.wp-gift-order-form-field span.required {
    color: #d8000c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wp-gift-order-form-field {
        flex: 1 1 100%;
		width:100%;
    }
	.wp-gift-order-form-row{
		width:100%;
	}
	.wp-gift-order-form {
	  display: flex;
	  gap: 15px;
	  align-items: center;
	  flex-direction: column;
	}
	.wp-gift-order-form-wrapper {
	  max-width: 100%;
	  margin: 0 auto;
	  align-items: center;
	  width: 100%;
	  display: flex;
	  justify-content: space-between;
	  flex-direction: column;
	}
}