/* ==========================================================================
   RMA Form – Montech.sk
   Professional 5-step return/complaint/exchange wizard
   ========================================================================== */

/* Layout */
.rma-wizard {
    max-width: 740px;
    margin: 0 auto;
    padding: 32px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Alerts ---------- */
.rma-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.rma-alert--success {
    background: #EBF8F4;
    border: 1px solid #ADE2D3;
    color: #00684C;
}
.rma-alert--error {
    background: #FFF1F4;
    border: 1px solid #FFBBC9;
    color: #970C31;
}
.rma-alert svg { flex-shrink: 0; }
.rma-alert__rma-number {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-top: 4px;
}

/* ---------- Stepper ---------- */
.rma-stepper {
    position: relative;
    margin-bottom: 36px;
    padding: 0 16px;
}
.rma-stepper-track {
    position: absolute;
    top: 18px;
    left: 52px;
    right: 52px;
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    z-index: 0;
}
.rma-stepper-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    background: linear-gradient(90deg, #FB2056, #00A376);
    transition: width .4s ease;
}
.rma-stepper-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.rma-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.rma-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    transition: all .3s;
}
.rma-step--active .rma-step-circle {
    border-color: #FB2056;
    color: #FB2056;
    background: #FFF1F4;
}
.rma-step--done .rma-step-circle {
    border-color: #00A376;
    background: #00A376;
    color: #fff;
}
.rma-step-label {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    max-width: 70px;
}
.rma-step--active .rma-step-label { color: #FB2056; }
.rma-step--done .rma-step-label { color: #00A376; }

/* ---------- Panels ---------- */
.rma-panel {
    display: none;
    animation: rma-fadeIn .3s ease;
}
.rma-panel--active { display: block; }

@keyframes rma-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes rma-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    50%      { transform: translateX(6px); }
    75%      { transform: translateX(-4px); }
}

.rma-panel-title {
    font-size: 21px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px;
}
.rma-panel-desc {
    font-size: 14px;
    color: #64748B;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ---------- Type Selection Cards ---------- */
.rma-type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}
.rma-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px 24px;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all .25s ease;
    text-align: center;
}
.rma-type-card:hover {
    border-color: #FB2056;
    background: #FFF1F4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, .12);
}
.rma-type-card--selected {
    border-color: #FB2056;
    background: #FFF1F4;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .2);
}
.rma-type-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rma-type-card__icon--complaint { background: #FFF1F4; color: #FB2056; }
.rma-type-card__icon--return    { background: #eff6ff; color: #0066CC; }
.rma-type-card__icon--exchange  { background: #EBF8F4; color: #00A376; }

.rma-type-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}
.rma-type-card__desc {
    font-size: 12px;
    color: #64748B;
    line-height: 1.4;
    margin: 0;
}
.rma-type-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.rma-type-card__badge--complaint { background: #FFF1F4; color: #FB2056; }
.rma-type-card__badge--return    { background: #eff6ff; color: #0066CC; }
.rma-type-card__badge--exchange  { background: #EBF8F4; color: #00A376; }

.rma-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ---------- Form Fields ---------- */
.rma-field { margin-bottom: 20px; }
.rma-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.rma-req { color: #FB2056; }
.rma-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    background: #F8FAFC;
    font-family: inherit;
}
.rma-input:focus {
    border-color: #FB2056;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .1);
}
.rma-input--invalid {
    border-color: #FB2056 !important;
    animation: rma-shake .4s;
}
.rma-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}
.rma-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.rma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rma-field-hint {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

/* Conditional fields */
.rma-conditional { display: none; }
.rma-conditional--visible {
    display: block;
    animation: rma-fadeIn .3s ease;
}

/* ---------- Upload ---------- */
.rma-upload-zone {
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    background: #F8FAFC;
}
.rma-upload-zone:hover,
.rma-upload-zone.rma-upload--dragover {
    border-color: #FB2056;
    background: #FFF1F4;
}
.rma-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.rma-upload-placeholder p {
    font-size: 13px;
    color: #64748B;
    margin: 8px 0 0;
}
.rma-upload-browse {
    color: #FB2056;
    font-weight: 600;
    text-decoration: underline;
}
.rma-file-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.rma-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #F1F5F9;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
}
.rma-file-item__thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #E2E8F0;
}
.rma-file-item__thumb--pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #FB2056;
    background: #FFF1F4;
}
.rma-file-item__info {
    flex: 1;
    min-width: 0;
}
.rma-file-item__name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
}
.rma-file-item__size {
    font-size: 11px;
    color: #94A3B8;
}
.rma-file-remove {
    background: none;
    border: none;
    color: #FB2056;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity .2s;
}
.rma-file-remove:hover { opacity: .7; }
.rma-file-error {
    font-size: 12px;
    color: #FB2056;
    margin-top: 6px;
    font-weight: 500;
}

/* ---------- Product Picker ---------- */
.rma-product-picker { margin-bottom: 20px; }
.rma-product-picker__list {
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6px;
}
.rma-product-picker__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid #F1F5F9;
}
.rma-product-picker__item:last-child { border-bottom: none; }
.rma-product-picker__item:hover { background: #F8FAFC; }
.rma-product-picker__item:has(.rma-product-picker__cb:checked) {
    background: #FFF1F4;
}
.rma-product-picker__cb {
    accent-color: #FB2056;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.rma-product-picker__name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.rma-product-picker__qty-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.rma-product-picker__qty {
    width: 52px;
    padding: 6px 8px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
}
.rma-product-picker__qty:focus {
    border-color: #FB2056;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .1);
}
.rma-product-picker__qty-label {
    font-size: 12px;
    color: #94A3B8;
    white-space: nowrap;
}

/* ---------- Checkbox ---------- */
.rma-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    line-height: 1.5;
}
.rma-checkbox-label input {
    margin-top: 3px;
    accent-color: #FB2056;
    flex-shrink: 0;
}

/* ---------- Navigation ---------- */
.rma-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}
.rma-btn {
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s;
    font-family: inherit;
    position: relative;
}
.rma-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
}
.rma-btn--next,
.rma-btn--submit {
    background: linear-gradient(135deg, #FB2056, #D81446);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, .3);
}
.rma-btn--next:hover:not(:disabled),
.rma-btn--submit:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(245, 158, 11, .4);
    transform: translateY(-1px);
}
.rma-btn--prev {
    background: #F1F5F9;
    color: #334155;
}
.rma-btn--prev:hover:not(:disabled) { background: #E2E8F0; }
.rma-btn--submit {
    padding: 14px 36px;
    font-size: 15px;
}

/* Submit loading state */
.rma-btn--loading {
    pointer-events: none;
    opacity: .75;
}
.rma-btn--loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rma-spin .6s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}
@keyframes rma-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Summary ---------- */
.rma-summary {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 8px;
}
.rma-summary-section {
    margin-bottom: 16px;
}
.rma-summary-section:last-child { margin-bottom: 0; }
.rma-summary-section__title {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #E2E8F0;
}
.rma-summary-row {
    display: flex;
    padding: 6px 0;
    gap: 12px;
}
.rma-summary-row--full { flex-direction: column; gap: 4px; }
.rma-summary-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
    min-width: 130px;
    flex-shrink: 0;
}
.rma-summary-value {
    font-size: 13px;
    color: #0F172A;
    word-break: break-word;
}
.rma-summary-type-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
}
.rma-summary-type-badge--complaint { background: #FFF1F4; color: #FB2056; }
.rma-summary-type-badge--return    { background: #eff6ff; color: #0066CC; }
.rma-summary-type-badge--exchange  { background: #EBF8F4; color: #00A376; }

/* ---------- Order Lookup ---------- */
.rma-order-lookup {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.rma-order-lookup .rma-input { flex: 1; }
.rma-btn--lookup {
    padding: 12px 20px;
    background: #F1F5F9;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #334155;
    white-space: nowrap;
    transition: all .2s;
    font-family: inherit;
}
.rma-btn--lookup:hover { background: #E2E8F0; }
.rma-order-found {
    margin-top: 12px;
    padding: 14px 16px;
    background: #EBF8F4;
    border: 1px solid #ADE2D3;
    border-radius: 10px;
    font-size: 13px;
    color: #00684C;
    display: none;
}
.rma-order-found--visible { display: block; animation: rma-fadeIn .3s ease; }
.rma-order-notfound {
    margin-top: 12px;
    padding: 14px 16px;
    background: #FFF1F4;
    border: 1px solid #FFE0E7;
    border-radius: 10px;
    font-size: 13px;
    color: #970C31;
    display: none;
}
.rma-order-notfound--visible { display: block; animation: rma-fadeIn .3s ease; }

/* ---------- Info Box ---------- */
.rma-info-box {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
}
.rma-info-box--blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #003D7A;
}
.rma-info-box--amber {
    background: #FFF1F4;
    border: 1px solid #FFE0E7;
    color: #970C31;
}
.rma-info-box svg { flex-shrink: 0; margin-top: 1px; }

/* ---------- Original Packaging Checkbox ---------- */
.rma-packaging-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 20px;
}
.rma-packaging-check input {
    accent-color: #0066CC;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.rma-packaging-check span {
    font-size: 13px;
    color: #003D7A;
    font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .rma-wizard { padding: 16px 4px; }
    .rma-type-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .rma-type-card {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }
    .rma-type-card__icon { width: 44px; height: 44px; }
    .rma-grid { grid-template-columns: 1fr; }
    .rma-file-list { grid-template-columns: 1fr; }
    .rma-stepper { padding: 0 4px; }
    .rma-stepper-track { left: 32px; right: 32px; }
    .rma-step-label { font-size: 9px; max-width: 54px; }
    .rma-step-circle { width: 30px; height: 30px; font-size: 12px; }
    .rma-nav { flex-direction: column-reverse; }
    .rma-btn { width: 100%; text-align: center; }
    .rma-summary-label { min-width: auto; }
    .rma-order-lookup { flex-direction: column; }
    .rma-btn--lookup { width: 100%; }
    .rma-product-picker__item { gap: 8px; padding: 12px; }
    .rma-product-picker__name { font-size: 13px; }
    .rma-product-picker__qty { width: 44px; }
}

/* ──────────────────────────────────────────────────────────
   Step 6: Confirmation panel (shown after successful submit)
   ────────────────────────────────────────────────────────── */
.rma-confirmation-panel.rma-panel--active {
    display: block !important;
}
.rma-confirmation {
    text-align: center;
    padding: 32px 24px 16px;
    max-width: 640px;
    margin: 0 auto;
}
.rma-confirmation__icon {
    margin: 0 auto 20px;
    width: 72px;
    height: 72px;
    animation: rma-bounce-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes rma-bounce-in {
    0%   { transform: scale(0.3); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
.rma-confirmation__title {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.rma-confirmation__lede {
    font-size: 16px;
    line-height: 1.55;
    color: #64748B;
    margin: 0 0 24px;
}
.rma-confirmation__rma-box {
    display: inline-block;
    background: linear-gradient(135deg, #EBF8F4 0%, #DCFCE7 100%);
    border: 2px solid #00A376;
    border-radius: 12px;
    padding: 16px 28px;
    margin: 0 auto 28px;
}
.rma-confirmation__rma-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #047857;
    margin-bottom: 4px;
}
.rma-confirmation__rma-number {
    font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: 0.02em;
}
.rma-confirmation__details {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 auto 24px;
    max-width: 480px;
    text-align: left;
}
.rma-confirmation__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
}
.rma-confirmation__detail-row + .rma-confirmation__detail-row {
    border-top: 1px solid #E2E8F0;
}
.rma-confirmation__detail-label {
    color: #64748B;
    font-weight: 500;
    flex-shrink: 0;
}
.rma-confirmation__detail-value {
    color: #0F172A;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}
.rma-confirmation__detail-value--warn {
    color: #C2410C;
}
.rma-confirmation__next-steps {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 auto 28px;
    max-width: 520px;
    text-align: left;
}
.rma-confirmation__next-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E3A8A;
    margin: 0 0 10px;
}
.rma-confirmation__next-list {
    margin: 0;
    padding-left: 22px;
    color: #1E3A8A;
    font-size: 14px;
    line-height: 1.65;
}
.rma-confirmation__next-list li + li {
    margin-top: 6px;
}
.rma-confirmation__next-list a {
    color: #0066CC;
    text-decoration: underline;
    font-weight: 600;
}
/* Step 6 v2: on-page shipping instructions (per-type steps + address + carriers) */
.rma-confirmation__instructions {
    text-align: left;
    max-width: 560px;
    margin: 0 auto 24px;
}
.rma-confirmation__section-title {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.rma-confirmation__type-steps {
    margin-bottom: 24px;
}
.rma-confirmation__steps-list {
    margin: 0;
    padding-left: 22px;
    color: #0F172A;
    font-size: 14px;
    line-height: 1.65;
}
.rma-confirmation__steps-list li + li {
    margin-top: 8px;
}
.rma-confirmation__ship {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px 20px;
}
.rma-confirmation__address {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.rma-confirmation__address-lines {
    font-size: 14px;
    line-height: 1.6;
    color: #0F172A;
}
.rma-btn--copy {
    background: #fff;
    color: #0066CC;
    border: 1.5px solid #0066CC;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.rma-btn--copy:hover {
    background: #0066CC;
    color: #fff;
}
.rma-confirmation__carriers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.rma-carrier {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 14px;
}
.rma-carrier__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #047857;
    background: #EBF8F4;
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 6px;
}
.rma-carrier__name {
    display: block;
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 4px;
}
.rma-carrier__desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: #64748B;
    margin: 0;
}
.rma-confirmation__ship-note {
    font-size: 12.5px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}
.rma-confirmation__ship-note strong {
    color: #0F172A;
}
.rma-confirmation__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.rma-confirmation__actions .rma-btn {
    min-width: 200px;
}
.rma-btn--secondary {
    background: #fff;
    color: #0066CC;
    border: 2px solid #0066CC;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}
.rma-btn--secondary:hover {
    background: #0066CC;
    color: #fff;
}
@media (max-width: 600px) {
    .rma-confirmation { padding: 24px 12px 8px; }
    .rma-confirmation__title { font-size: 22px; }
    .rma-confirmation__lede { font-size: 14px; margin-bottom: 18px; }
    .rma-confirmation__rma-number { font-size: 22px; }
    .rma-confirmation__rma-box { padding: 14px 22px; }
    .rma-confirmation__actions { flex-direction: column-reverse; }
    .rma-confirmation__actions .rma-btn { width: 100%; min-width: 0; }
    .rma-confirmation__carriers { grid-template-columns: 1fr; }
    .rma-confirmation__address { flex-direction: column; }
    .rma-btn--copy { width: 100%; }
    .rma-confirmation__ship { padding: 14px; }
}

/* Print: "Vytlačiť pokyny" isolates the Step 6 confirmation panel. */
@media print {
    body.rma-print-confirmation * {
        visibility: hidden;
    }
    body.rma-print-confirmation .rma-confirmation,
    body.rma-print-confirmation .rma-confirmation * {
        visibility: visible;
    }
    body.rma-print-confirmation .rma-confirmation {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
        padding: 0;
    }
    body.rma-print-confirmation .rma-confirmation__actions,
    body.rma-print-confirmation .rma-confirmation__icon,
    body.rma-print-confirmation .rma-btn--copy {
        display: none !important;
    }
}
