/* Simon Gift Voucher - front office styles */

.gv-block {
    margin: 20px 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
}

.gv-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.gv-title {
    margin: 0 0 6px;
    font-size: 1.4em;
    color: #2b2b2b;
    font-weight: 600;
}

.gv-subtitle {
    margin: 0;
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

.gv-form .form-group {
    margin-bottom: 15px;
}

.gv-template-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gv-template-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin: 0;
}

.gv-template-option input[type="radio"] {
    margin: 0;
}

.gv-delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.gv-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
    font-weight: normal !important;
    margin: 0;
}

.gv-delivery-option:hover {
    border-color: #2396c7;
    background: #fafdff;
}

.gv-delivery-option input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.gv-delivery-option:has(input[type="radio"]:checked),
.gv-delivery-option-selected {
    border-color: #2396c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 1px #2396c7;
}

.gv-delivery-label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.4;
}

.gv-delivery-label strong {
    font-size: 1.05em;
    color: #2b2b2b;
}

.gv-delivery-label small {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

.gv-recipient-fields {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.gv-add-to-cart {
    width: 100%;
    padding: 12px;
    font-size: 1em;
}

.gv-feedback {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
}

.gv-feedback-success { background: #d4edda; color: #155724; }
.gv-feedback-error   { background: #f8d7da; color: #721c24; }

/* My Gift Cards list */
.gv-my-cards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gv-my-card {
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gv-my-card-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    color: #fff;
    background: #28a745;
}

.gv-my-card-status.status-voided,
.gv-my-card-status.status-blocked,
.gv-my-card-status.status-expired { background: #dc3545; }
.gv-my-card-status.status-partially_used { background: #ffc107; color: #333; }
.gv-my-card-status.status-fully_used { background: #17a2b8; }

.gv-balance-checker {
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin: 20px 0;
}

.gv-balance-result {
    display: block;
    margin-top: 8px;
    font-weight: bold;
}

/* Voucher-specific reassurance strip at the bottom of the configurator.
   Replaces the generic "Customer Reassurance" blocks we hide above. */
.gv-reassurance {
    list-style: none;
    margin: 20px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    font-size: 0.85em;
    color: #666;
}

.gv-reassurance li {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

.gv-reassurance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
}
