/* ──────────────────────────────────────────
   Hotel Gift Voucher – Front-end Styles
   ────────────────────────────────────────── */

.hgv-wrapper {
    max-width: 760px;
    margin: 0 auto;
    font-family: inherit;
}

/* Alert */
.hgv-alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
}
.hgv-alert.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.hgv-alert.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* Section */
.hgv-section {
    background: #fff;
    
    border-radius: 6px;
    padding: 28px 30px;
    margin-bottom: 20px;
}
.hgv-section-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #1a3557;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

/* Fields */
.hgv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) {
    .hgv-row { grid-template-columns: 1fr; }
}
.hgv-field { margin-bottom: 16px; }
.hgv-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.hgv-field label .req { color: #c62828; }
.hgv-field input,
.hgv-field select,
.hgv-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color .2s;
    background: #fafafa;
}
.hgv-field input:focus,
.hgv-field select:focus,
.hgv-field textarea:focus {
    outline: none;
    border-color: #1a3557;
    background: #fff;
}
.hgv-field input.invalid,
.hgv-field select.invalid,
.hgv-field textarea.invalid {
    border-color: #e53935;
}

/* Delivery & notice */
.hgv-delivery-note {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 16px;
}
.hgv-notice {
    background: #fffde7;
    border: 1px solid #f9a825;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}
.hgv-notice p { margin: 0 0 4px; }

/* Submit */
.hgv-submit-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hgv-btn {
    background: #1a3557;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.hgv-btn:hover   { background: #0f2239; }
.hgv-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Spinner */
.hgv-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid #ccc;
    border-top-color: #1a3557;
    border-radius: 50%;
    animation: hgv-spin .7s linear infinite;
}
@keyframes hgv-spin { to { transform: rotate(360deg); } }
