/* Style modułu RMA Serwisu Elektroniki */
.rma-frontend-wrapper, .rma-status-tracker {
    font-family: inherit;
    box-sizing: border-box;
}

.rma-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
}

.rma-search-row .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 0;
}

.rma-search-row .form-group label {
    min-height: 38px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.form-row.rma-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.storm-status-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
}

.rma-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.rma-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.rma-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #34d399;
}

/* Przyciski Decyzji o Wycenie */
.btn-storm-decision {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
}

.btn-storm-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.btn-storm-accept:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.55);
}

.btn-storm-reject {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171 !important;
}

.btn-storm-reject:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff !important;
    transform: translateY(-1px);
}

.storm-decision-banner {
    padding: 14px 16px;
    border-radius: 10px;
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.5;
}

.storm-decision-banner-accept {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #34d399;
}

.storm-decision-banner-reject {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.rma-photo-item:hover {
    transform: scale(1.04);
}

/* Autofill Fix */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0a0f1d inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    caret-color: #fff !important;
}

@media (max-width: 768px) {
    .rma-search-row, .form-row.rma-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .rma-search-row .form-group label {
        min-height: auto;
    }
    .storm-status-grid {
        grid-template-columns: 1fr !important;
    }
    .btn-storm-decision {
        width: 100%;
        min-height: 44px;
    }
}
