/**
 * Stiluri front — formular retragere / retur (PrestaShop).
 * @package retragerecontract
 */
.wr-my-account, .wr-guest-page { max-width: 1000px; margin: 0 auto; padding: 10px 0 40px; }
.wr-my-account .page-heading, .wr-guest-page .page-heading { margin-bottom: 14px; font-size: 1.6em; }
.wr-my-account .wr-intro, .wr-guest-page .wr-intro { color: #555; margin-bottom: 1em; }

.wr-card {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 18px;
    background: #fff;
}
.wr-card h3 { margin-top: 0; margin-bottom: 12px; font-size: 1.05em; }

.wr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.wr-grid-2 p { margin: 4px 0; }
.wr-grid-2 label { display: block; font-weight: 600; font-size: .85em; margin-bottom: 3px; }
.wr-grid-2 input, .wr-grid-2 textarea { width: 100%; box-sizing: border-box; }
.wr-grid-2 input[readonly], .wr-grid-2 textarea[readonly] { background: #f6f6f6; color: #555; }

.wr-order-picker label { display: block; font-weight: 600; margin-bottom: 6px; }
.wr-order-select { width: 100%; max-width: 520px; box-sizing: border-box; padding: 8px 10px; }
.wr-order-select-message, .wr-guest-message { margin-top: 10px; font-weight: 600; }
.wr-order-select-message.error, .wr-guest-message.error, .wr-form-message.error { color: #b32d2e; }
.wr-loading { color: #666; font-style: italic; padding: 12px 0; }

.wr-btn { color: #fff !important; border: none !important; cursor: pointer; }
.wr-btn:hover { opacity: .92; color: #fff !important; }

.wr-items-table { width: 100%; border-collapse: collapse; }
.wr-items-table th, .wr-items-table td { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.wr-items-table thead th { font-size: .82em; text-transform: uppercase; color: #777; }
.wr-col-select, .wr-col-img { width: 1%; white-space: nowrap; }
.wr-col-img img { width: 48px; height: auto; border-radius: 4px; }
.wr-item-name { display: block; font-weight: 600; }
.wr-item-excluded-msg { display: block; font-size: .8em; color: #b32d2e; margin-top: 3px; }
.wr-item--excluded { opacity: .65; background: #fcf6f6; }
.wr-item--selected { background: #f1f8f4; }
.wr-item-qty { width: 70px; }
.wr-select-all { font-weight: 600; }

.wr-form select, .wr-form textarea, .wr-guest-form input { width: 100%; box-sizing: border-box; padding: 8px 10px; }
.wr-card > p > label, .wr-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.required { color: #b32d2e; }

.wr-legal { background: #f9fbfa; }
.wr-legal-text { font-size: .9em; color: #444; }
.wr-confirm label { font-weight: 600; }
.wr-review-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.wr-review-table th, .wr-review-table td { padding: 8px; border-bottom: 1px solid #eee; text-align: left; }

.wr-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

.wr-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.wr-alert--info { background: #eef5fb; color: #1f5d8c; border: 1px solid #cfe2f3; }
.wr-alert--warning { background: #fcf6e8; color: #8a6d1c; border: 1px solid #f0e0b0; }
.wr-ineligible { color: #8a6d1c; }
.wr-order-action { margin-top: 14px; }

.wr-success { text-align: center; padding: 30px 20px; }
.wr-success-icon { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #2c6e49; color: #fff; font-size: 32px; }

@media (max-width: 640px) {
    .wr-grid-2 { grid-template-columns: 1fr; }
    .wr-items-table thead { display: none; }
    .wr-items-table, .wr-items-table tbody, .wr-items-table tr, .wr-items-table td { display: block; width: 100%; box-sizing: border-box; }
    .wr-items-table tr { border: 1px solid #eee; border-radius: 6px; margin-bottom: 10px; padding: 6px; }
    .wr-items-table td { border: none; padding: 6px 8px; }
}
